mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 14:19:39 +02:00
14 lines
350 B
Ruby
14 lines
350 B
Ruby
|
# `Providable` serves as an extension point for integrating multiple providers.
|
||
|
# For an example of a multi-provider, multi-concept implementation,
|
||
|
# see: https://github.com/maybe-finance/maybe/pull/561
|
||
|
|
||
|
module Providable
|
||
|
extend ActiveSupport::Concern
|
||
|
|
||
|
class_methods do
|
||
|
def exchange_rates_provider
|
||
|
Provider::Synth.new
|
||
|
end
|
||
|
end
|
||
|
end
|