Class: Spree::AnalyticsConfig
- Inherits:
-
Object
- Object
- Spree::AnalyticsConfig
- Defined in:
- lib/spree/core.rb
Overview
Group analytics configuration options together, but still make it backwards compatible.
Instance Method Summary collapse
Instance Method Details
#events ⇒ Object
437 438 439 |
# File 'lib/spree/core.rb', line 437 def events Rails.application.config.spree.analytics_events end |
#events=(value) ⇒ Object
441 442 443 |
# File 'lib/spree/core.rb', line 441 def events=(value) Rails.application.config.spree.analytics_events = value end |
#handlers ⇒ Object
445 446 447 |
# File 'lib/spree/core.rb', line 445 def handlers Rails.application.config.spree.analytics_event_handlers end |
#handlers=(value) ⇒ Object
449 450 451 |
# File 'lib/spree/core.rb', line 449 def handlers=(value) Rails.application.config.spree.analytics_event_handlers = value end |