Class: Iterable::Services::EventService
- Inherits:
-
BaseService
- Object
- BaseService
- Iterable::Services::EventService
- Defined in:
- lib/iterable/services/event_service.rb
Instance Attribute Summary
Attributes inherited from BaseService
Instance Method Summary collapse
Methods inherited from BaseService
Constructor Details
This class inherits a constructor from Iterable::Services::BaseService
Instance Method Details
#track(event) ⇒ Object
10 11 12 13 |
# File 'lib/iterable/services/event_service.rb', line 10 def track(event) raise Exceptions::ServiceException, "Must be a Iterable::Event" unless event.is_a?(Iterable::Event) post(Util::Config.get('endpoints.track_event'), event) end |