Class: LWS::Ticket::Message
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Ticket::Message
- Defined in:
- lib/lws/apps/ticket.rb
Overview
The ticket message class
Instance Attribute Summary collapse
-
#account ⇒ LWS::Auth::Account
The account of the user that created the ticket message.
-
#account_id ⇒ Integer
The ID of the account of the user that created the ticket message.
-
#attachments ⇒ Array<Attachment>
The attachments associated with the ticket message.
-
#company ⇒ LWS::Auth::Company
The company of the user that created the ticket message.
-
#company_id ⇒ Integer
The ID of the company of the user that created the ticket message.
-
#internal ⇒ Boolean
Whether the message is internal, i.e.
-
#message ⇒ String
The ticket message body.
-
#status ⇒ "success", ...
The new ticket status set by the message.
-
#ticket ⇒ Ticket
The ticket associated with the message.
-
#ticket_id ⇒ Integer
The ID of the ticket associated with the message.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#account ⇒ LWS::Auth::Account
99 |
# File 'lib/lws/apps/ticket.rb', line 99 belongs_to :account, class_name: "LWS::Auth::Account" |
#account_id ⇒ Integer
104 |
# File 'lib/lws/apps/ticket.rb', line 104 attribute :account_id |
#attachments ⇒ Array<Attachment>
109 |
# File 'lib/lws/apps/ticket.rb', line 109 has_many :attachments |
#company ⇒ LWS::Auth::Company
114 |
# File 'lib/lws/apps/ticket.rb', line 114 belongs_to :company, class_name: "LWS::Auth::Company" |
#company_id ⇒ Integer
119 |
# File 'lib/lws/apps/ticket.rb', line 119 attribute :company_id |
#internal ⇒ Boolean
124 |
# File 'lib/lws/apps/ticket.rb', line 124 attribute :internal |
#message ⇒ String
128 |
# File 'lib/lws/apps/ticket.rb', line 128 attribute :message |
#status ⇒ "success", ...
134 |
# File 'lib/lws/apps/ticket.rb', line 134 attribute :status |
#ticket ⇒ Ticket
138 |
# File 'lib/lws/apps/ticket.rb', line 138 belongs_to :ticket |
#ticket_id ⇒ Integer
142 |
# File 'lib/lws/apps/ticket.rb', line 142 attribute :ticket_id |