Class: AffiliationId::Configuration
- Inherits:
-
Object
- Object
- AffiliationId::Configuration
- Defined in:
- lib/affiliation_id/configuration.rb
Overview
:nodoc:
Constant Summary collapse
- HEADER_NAME =
'X-Request-ID'
Instance Attribute Summary collapse
-
#enforce_explicit_current_id ⇒ Object
Returns the value of attribute enforce_explicit_current_id.
-
#header_name ⇒ Object
Returns the value of attribute header_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_id ⇒ Object
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_name ⇒ Object
Returns the value of attribute header_name.
6 7 8 |
# File 'lib/affiliation_id/configuration.rb', line 6 def header_name @header_name end |