class SmoothChange::Configuration

Store SmoothChange gem’s global configuration

Attributes

adapter[RW]
http_header_name[RW]

Public Class Methods

new() click to toggle source
# File lib/smooth_change/configuration.rb, line 6
def initialize
  set_defaults!
end

Private Instance Methods

set_defaults!() click to toggle source
# File lib/smooth_change/configuration.rb, line 15
def set_defaults!
  self.http_header_name = "X-ApiFeatureFlags"
  self.adapter = nil # @TODO
end