Class: MoneyMover::Dwolla::Config
- Inherits:
-
Object
- Object
- MoneyMover::Dwolla::Config
- Defined in:
- lib/money_mover/dwolla/config.rb
Instance Method Summary collapse
- #account_token_provider ⇒ Object
- #api_key ⇒ Object
- #api_secret_key ⇒ Object
- #environment ⇒ Object
-
#initialize(config = MoneyMover::Dwolla.config_provider) ⇒ Config
constructor
A new instance of Config.
- #webhook_callback_url ⇒ Object
- #webhook_secret_key ⇒ Object
Constructor Details
#initialize(config = MoneyMover::Dwolla.config_provider) ⇒ Config
Returns a new instance of Config.
4 5 6 |
# File 'lib/money_mover/dwolla/config.rb', line 4 def initialize(config = MoneyMover::Dwolla.config_provider) @config = config end |
Instance Method Details
#account_token_provider ⇒ Object
28 29 30 |
# File 'lib/money_mover/dwolla/config.rb', line 28 def account_token_provider @config.account_token_provider end |
#api_key ⇒ Object
16 17 18 |
# File 'lib/money_mover/dwolla/config.rb', line 16 def api_key @config.api_key end |
#api_secret_key ⇒ Object
20 21 22 |
# File 'lib/money_mover/dwolla/config.rb', line 20 def api_secret_key @config.api_secret_key end |
#environment ⇒ Object
24 25 26 |
# File 'lib/money_mover/dwolla/config.rb', line 24 def environment @config.environment end |
#webhook_callback_url ⇒ Object
12 13 14 |
# File 'lib/money_mover/dwolla/config.rb', line 12 def webhook_callback_url @config.webhook_callback_url end |
#webhook_secret_key ⇒ Object
8 9 10 |
# File 'lib/money_mover/dwolla/config.rb', line 8 def webhook_secret_key @config.webhook_secret_key end |