Class: LWS::Ticket::Message

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/ticket.rb

Overview

The ticket message class

Instance Attribute Summary collapse

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

#accountLWS::Auth::Account



99
# File 'lib/lws/apps/ticket.rb', line 99

belongs_to :account, class_name: "LWS::Auth::Account"

#account_idInteger



104
# File 'lib/lws/apps/ticket.rb', line 104

attribute :account_id

#attachmentsArray<Attachment>



109
# File 'lib/lws/apps/ticket.rb', line 109

has_many :attachments

#companyLWS::Auth::Company



114
# File 'lib/lws/apps/ticket.rb', line 114

belongs_to :company, class_name: "LWS::Auth::Company"

#company_idInteger



119
# File 'lib/lws/apps/ticket.rb', line 119

attribute :company_id

#internalBoolean



124
# File 'lib/lws/apps/ticket.rb', line 124

attribute :internal

#messageString



128
# File 'lib/lws/apps/ticket.rb', line 128

attribute :message

#status"success", ...



134
# File 'lib/lws/apps/ticket.rb', line 134

attribute :status

#ticketTicket



138
# File 'lib/lws/apps/ticket.rb', line 138

belongs_to :ticket

#ticket_idInteger



142
# File 'lib/lws/apps/ticket.rb', line 142

attribute :ticket_id