Class: IbanLookup::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/iban-lookup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



13
14
15
# File 'lib/iban-lookup.rb', line 13

def api_key
  @api_key
end

#cacheObject

Returns the value of attribute cache.



13
14
15
# File 'lib/iban-lookup.rb', line 13

def cache
  @cache
end

#loggerObject

Returns the value of attribute logger.



13
14
15
# File 'lib/iban-lookup.rb', line 13

def logger
  @logger
end

#serviceObject

Returns the value of attribute service.



13
14
15
# File 'lib/iban-lookup.rb', line 13

def service
  @service
end