mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 19:14:11 +00:00
* feat: add Binance support (Items, Accounts, Importers, Processor, and Sync) * refactor: deduplicate 'stablecoins' constant and push stale_rate filter to SQL --------- Signed-off-by: Juan José Mata <juanjo.mata@gmail.com> Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
10 lines
210 B
Ruby
10 lines
210 B
Ruby
module BinanceItem::Provided
|
|
extend ActiveSupport::Concern
|
|
|
|
def binance_provider
|
|
return nil unless credentials_configured?
|
|
|
|
Provider::Binance.new(api_key: api_key, api_secret: api_secret)
|
|
end
|
|
end
|