Class: IbanLookup::Configuration
- Inherits:
-
Object
- Object
- IbanLookup::Configuration
- Defined in:
- lib/iban-lookup.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#cache ⇒ Object
Returns the value of attribute cache.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#service ⇒ Object
Returns the value of attribute service.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 |
# File 'lib/iban-lookup.rb', line 15 def initialize @logger ||= Logger.new(DevNull.new) end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
13 14 15 |
# File 'lib/iban-lookup.rb', line 13 def api_key @api_key end |
#cache ⇒ Object
Returns the value of attribute cache.
13 14 15 |
# File 'lib/iban-lookup.rb', line 13 def cache @cache end |
#logger ⇒ Object
Returns the value of attribute logger.
13 14 15 |
# File 'lib/iban-lookup.rb', line 13 def logger @logger end |
#service ⇒ Object
Returns the value of attribute service.
13 14 15 |
# File 'lib/iban-lookup.rb', line 13 def service @service end |