1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00
Maybe/app/models/stock_exchange.rb
Josh Pigford aa3342b0dc
Stock imports (#1363)
* Initial pass

* Marketstack data provider

* Marketstack data provider

* Refactor a bit
2024-10-24 16:36:50 -05:00

3 lines
120 B
Ruby

class StockExchange < ApplicationRecord
scope :in_country, ->(country_code) { where(country_code: country_code) }
end