Class: ApiWrapper::Configuration
- Inherits:
-
Object
- Object
- ApiWrapper::Configuration
- Defined in:
- lib/api_wrapper.rb
Overview
Configuration class for managing settings
Instance Attribute Summary collapse
-
#api_configuration_path ⇒ Object
Returns the value of attribute api_configuration_path.
-
#cache_store ⇒ Object
Returns the value of attribute cache_store.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
27 28 29 30 |
# File 'lib/api_wrapper.rb', line 27 def initialize @api_configuration_path = default_api_configuration_path @cache_store = default_cache_store end |
Instance Attribute Details
#api_configuration_path ⇒ Object
Returns the value of attribute api_configuration_path.
25 26 27 |
# File 'lib/api_wrapper.rb', line 25 def api_configuration_path @api_configuration_path end |
#cache_store ⇒ Object
Returns the value of attribute cache_store.
25 26 27 |
# File 'lib/api_wrapper.rb', line 25 def cache_store @cache_store end |