Class: Zendesk2::TicketNotification
- Inherits:
-
AuditEvent
- Object
- AuditEvent
- Zendesk2::TicketNotification
- Defined in:
- lib/zendesk2/ticket_notification.rb
Instance Attribute Summary
Attributes inherited from AuditEvent
Attributes included from Model
Instance Method Summary collapse
-
#body ⇒ String
The message sent to the recipients.
-
#id ⇒ Integer
Automatically assigned when creating events.
-
#recipients ⇒ Array
A array of simple object holding the ids and names of the recipients of this notification.
-
#subject ⇒ String
The subject of the message sent to the recipients.
-
#via ⇒ Hash
A reference to the trigger that created this notification.
Methods inherited from AuditEvent
Methods included from Attributes
#assoc_accessor, #assoc_reader, #assoc_writer
Methods included from Model
#destroy, #destroyed?, #missing_attributes, #save, #save!, #update!
Instance Method Details
#body ⇒ String
Returns The message sent to the recipients.
7 |
# File 'lib/zendesk2/ticket_notification.rb', line 7 attribute :body, type: :string |
#id ⇒ Integer
Returns Automatically assigned when creating events.
4 |
# File 'lib/zendesk2/ticket_notification.rb', line 4 identity :id, type: :integer |
#recipients ⇒ Array
Returns A array of simple object holding the ids and names of the recipients of this notification.
9 |
# File 'lib/zendesk2/ticket_notification.rb', line 9 attribute :recipients, type: :array |
#subject ⇒ String
Returns The subject of the message sent to the recipients.
11 |
# File 'lib/zendesk2/ticket_notification.rb', line 11 attribute :subject, type: :string |
#via ⇒ Hash
Returns A reference to the trigger that created this notification.
13 |
# File 'lib/zendesk2/ticket_notification.rb', line 13 attribute :via |