Class: Configuration
- Inherits:
-
Object
- Object
- Configuration
- Defined in:
- lib/sojourn/configuration.rb
Instance Attribute Summary collapse
-
#campaign_params ⇒ Object
Returns the value of attribute campaign_params.
-
#cookie_name ⇒ Object
Returns the value of attribute cookie_name.
-
#default_properties_block ⇒ Object
Returns the value of attribute default_properties_block.
-
#session_store ⇒ Object
Returns the value of attribute session_store.
-
#tracking_enabled ⇒ Object
Returns the value of attribute tracking_enabled.
Instance Method Summary collapse
- #default_properties(&block) ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 |
# File 'lib/sojourn/configuration.rb', line 10 def initialize set_defaults end |
Instance Attribute Details
#campaign_params ⇒ Object
Returns the value of attribute campaign_params.
4 5 6 |
# File 'lib/sojourn/configuration.rb', line 4 def campaign_params @campaign_params end |
#cookie_name ⇒ Object
Returns the value of attribute cookie_name.
6 7 8 |
# File 'lib/sojourn/configuration.rb', line 6 def @cookie_name end |
#default_properties_block ⇒ Object
Returns the value of attribute default_properties_block.
8 9 10 |
# File 'lib/sojourn/configuration.rb', line 8 def default_properties_block @default_properties_block end |
#session_store ⇒ Object
Returns the value of attribute session_store.
5 6 7 |
# File 'lib/sojourn/configuration.rb', line 5 def session_store @session_store end |
#tracking_enabled ⇒ Object
Returns the value of attribute tracking_enabled.
7 8 9 |
# File 'lib/sojourn/configuration.rb', line 7 def tracking_enabled @tracking_enabled end |
Instance Method Details
#default_properties(&block) ⇒ Object
14 15 16 |
# File 'lib/sojourn/configuration.rb', line 14 def default_properties(&block) self.default_properties_block = block end |