Class: Mailtrap::ContactEvent
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::ContactEvent
- Defined in:
- lib/mailtrap/contact_event.rb
Overview
Data Transfer Object for Contact Event
Instance Attribute Summary collapse
-
#contact_email ⇒ String
readonly
The contact email.
-
#contact_id ⇒ String
readonly
The contact ID (UUID).
-
#name ⇒ String
readonly
The event name.
-
#params ⇒ Hash
readonly
The event parameters (string keys, scalar values).
Instance Attribute Details
#contact_email ⇒ String (readonly)
The contact email
9 10 11 |
# File 'lib/mailtrap/contact_event.rb', line 9 def contact_email @contact_email end |
#contact_id ⇒ String (readonly)
The contact ID (UUID)
9 10 11 |
# File 'lib/mailtrap/contact_event.rb', line 9 def contact_id @contact_id end |
#name ⇒ String (readonly)
The event name
9 10 11 |
# File 'lib/mailtrap/contact_event.rb', line 9 def name @name end |
#params ⇒ Hash (readonly)
The event parameters (string keys, scalar values)
9 10 11 |
# File 'lib/mailtrap/contact_event.rb', line 9 def params @params end |