mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 04:24:06 +00:00
Remove Synth Finance references (#47)
* Remove Synth Finance integration * Linter noise * Fix failing (old) test, use it for Twelve Data --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
13
app/models/security/combobox_option.rb
Normal file
13
app/models/security/combobox_option.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class Security::ComboboxOption
|
||||
include ActiveModel::Model
|
||||
|
||||
attr_accessor :symbol, :name, :logo_url, :exchange_operating_mic, :country_code
|
||||
|
||||
def id
|
||||
"#{symbol}|#{exchange_operating_mic}"
|
||||
end
|
||||
|
||||
def to_combobox_display
|
||||
"#{symbol} - #{name} (#{exchange_operating_mic})"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user