Class: Mailtrap::ContactEventsAPI
- Inherits:
-
Object
- Object
- Mailtrap::ContactEventsAPI
- Includes:
- BaseAPI
- Defined in:
- lib/mailtrap/contact_events_api.rb
Instance Attribute Summary
Attributes included from BaseAPI
Instance Method Summary collapse
-
#create(contact_identifier, options) ⇒ ContactEvent
Creates a contact event.
Methods included from BaseAPI
Instance Method Details
#create(contact_identifier, options) ⇒ ContactEvent
Creates a contact event
22 23 24 25 26 |
# File 'lib/mailtrap/contact_events_api.rb', line 22 def create(contact_identifier, ) (, ) response = client.post(base_path(contact_identifier), ) build_entity(response, ContactEvent) end |