Class: Zendesk2::TicketCreate
- Inherits:
-
AuditEvent
- Object
- AuditEvent
- Zendesk2::TicketCreate
- Defined in:
- lib/zendesk2/ticket_create.rb
Instance Attribute Summary
Attributes inherited from AuditEvent
Attributes included from Model
Instance Method Summary collapse
-
#field_name ⇒ string
The name of the field that was set.
-
#id ⇒ integer
Automatically assigned when creating events.
-
#value ⇒ Array
The value of the field that was set.
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
#field_name ⇒ string
Returns The name of the field that was set.
7 |
# File 'lib/zendesk2/ticket_create.rb', line 7 attribute :field_name, type: :string |
#id ⇒ integer
Returns Automatically assigned when creating events.
4 |
# File 'lib/zendesk2/ticket_create.rb', line 4 identity :id, type: :integer |
#value ⇒ Array
Returns The value of the field that was set.
9 |
# File 'lib/zendesk2/ticket_create.rb', line 9 attribute :value, parser: ->(v, _) { [*v] } |