Module: OpenStates::Configuration
- Included in:
- OpenStates
- Defined in:
- lib/openstates/configuration.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.
Instance Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/openstates/configuration.rb', line 3 def api_key @api_key end |
#cache ⇒ Object
Returns the value of attribute cache.
3 4 5 |
# File 'lib/openstates/configuration.rb', line 3 def cache @cache end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/openstates/configuration.rb', line 3 def logger @logger end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
5 6 7 |
# File 'lib/openstates/configuration.rb', line 5 def configure yield self end |