Class: SmoothChange::Configuration
- Inherits:
-
Object
- Object
- SmoothChange::Configuration
- Defined in:
- lib/smooth_change/configuration.rb
Overview
Store SmoothChange gem’s global configuration
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#http_header_name ⇒ Object
Returns the value of attribute http_header_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 |
# File 'lib/smooth_change/configuration.rb', line 6 def initialize set_defaults! end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
10 11 12 |
# File 'lib/smooth_change/configuration.rb', line 10 def adapter @adapter end |
#http_header_name ⇒ Object
Returns the value of attribute http_header_name.
10 11 12 |
# File 'lib/smooth_change/configuration.rb', line 10 def http_header_name @http_header_name end |