Class: CardDB::Rails::Configuration
- Inherits:
-
Object
- Object
- CardDB::Rails::Configuration
- Defined in:
- lib/carddb/rails/configuration.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#credentials_key ⇒ Object
Returns the value of attribute credentials_key.
-
#use_rails_cache ⇒ Object
Returns the value of attribute use_rails_cache.
-
#use_rails_logger ⇒ Object
Returns the value of attribute use_rails_logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 |
# File 'lib/carddb/rails/configuration.rb', line 8 def initialize @client = nil @credentials_key = :carddb @use_rails_cache = true @use_rails_logger = true end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
6 7 8 |
# File 'lib/carddb/rails/configuration.rb', line 6 def client @client end |
#credentials_key ⇒ Object
Returns the value of attribute credentials_key.
6 7 8 |
# File 'lib/carddb/rails/configuration.rb', line 6 def credentials_key @credentials_key end |
#use_rails_cache ⇒ Object
Returns the value of attribute use_rails_cache.
6 7 8 |
# File 'lib/carddb/rails/configuration.rb', line 6 def use_rails_cache @use_rails_cache end |
#use_rails_logger ⇒ Object
Returns the value of attribute use_rails_logger.
6 7 8 |
# File 'lib/carddb/rails/configuration.rb', line 6 def use_rails_logger @use_rails_logger end |