Module: Mixpanelable::TrackerMethods
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/mixpanelable/tracker_methods.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #track_event(name, properties = {}) ⇒ Object
- #track_event_for(active_record, name, properties = {}) ⇒ Object
- #track_event_for_request(name, properties = {}) ⇒ Object
Instance Method Details
#track_event(name, properties = {}) ⇒ Object
36 37 38 |
# File 'lib/mixpanelable/tracker_methods.rb', line 36 def track_event(name, properties = {}) self.class.track_event(name, properties) end |
#track_event_for(active_record, name, properties = {}) ⇒ Object
40 41 42 |
# File 'lib/mixpanelable/tracker_methods.rb', line 40 def track_event_for(active_record, name, properties = {}) self.class.track_event_for(active_record, name, properties) end |
#track_event_for_request(name, properties = {}) ⇒ Object
44 45 46 |
# File 'lib/mixpanelable/tracker_methods.rb', line 44 def track_event_for_request(name, properties = {}) self.class.track_event_for_request(name, properties) end |