Class: AffiliationId::Configuration

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

Overview

:nodoc:

Constant Summary collapse

HEADER_NAME =
'X-Request-ID'

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



8
9
10
11
# File 'lib/affiliation_id/configuration.rb', line 8

def initialize
  @enforce_explicit_current_id = true
  @header_name = HEADER_NAME
end

Instance Attribute Details

#enforce_explicit_current_idObject

Returns the value of attribute enforce_explicit_current_id.



6
7
8
# File 'lib/affiliation_id/configuration.rb', line 6

def enforce_explicit_current_id
  @enforce_explicit_current_id
end

#header_nameObject

Returns the value of attribute header_name.



6
7
8
# File 'lib/affiliation_id/configuration.rb', line 6

def header_name
  @header_name
end