Class: Mixpanelable::Config
- Inherits:
-
Object
- Object
- Mixpanelable::Config
- Defined in:
- lib/mixpanelable/config.rb
Class Method Summary collapse
Class Method Details
.adapter ⇒ Object
9 10 11 |
# File 'lib/mixpanelable/config.rb', line 9 def adapter @adapter || Adapters::ResqueAdapter end |
.adapter=(adapter_type) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/mixpanelable/config.rb', line 13 def adapter=(adapter_type) @adapter = case adapter_type when :resque Adapters::ResqueAdapter else Adapters::ResqueAdapter end end |