Class: SmoothChange::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/smooth_change/configuration.rb

Overview

Store SmoothChange gem’s global configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#adapterObject

Returns the value of attribute adapter.



10
11
12
# File 'lib/smooth_change/configuration.rb', line 10

def adapter
  @adapter
end

#http_header_nameObject

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