Class: LWS::Ticket::Attachment
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Ticket::Attachment
- Defined in:
- lib/lws/apps/ticket.rb
Overview
The ticket message attachment class
Instance Attribute Summary collapse
-
#av_scanned_at ⇒ String?
The timestamp of when an anti-virus scan on the attached file was performed.
-
#file_object ⇒ String
The URL of the attachment file object.
-
#message ⇒ Message
The ticket message associated with the attachment.
-
#message_id ⇒ Integer
The ID of the ticket message associated with the attachment.
-
#name ⇒ String
The name of the attachment.
-
#size ⇒ Integer
The size of the attachment (bytes).
-
#url ⇒ String
The URL to the attachment that can be used to download it.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#av_scanned_at ⇒ String?
Returns the timestamp of when an anti-virus scan on the attached file was performed.
45 |
# File 'lib/lws/apps/ticket.rb', line 45 attribute :av_scanned_at |
#file_object ⇒ String
Returns the URL of the attachment file object.
49 |
# File 'lib/lws/apps/ticket.rb', line 49 attribute :file_object |
#message ⇒ Message
Returns the ticket message associated with the attachment.
53 |
# File 'lib/lws/apps/ticket.rb', line 53 belongs_to :message |
#message_id ⇒ Integer
Returns the ID of the ticket message associated with the attachment.
58 |
# File 'lib/lws/apps/ticket.rb', line 58 attribute :message_id |
#name ⇒ String
Returns the name of the attachment.
62 |
# File 'lib/lws/apps/ticket.rb', line 62 attribute :name |
#size ⇒ Integer
Returns the size of the attachment (bytes).
66 |
# File 'lib/lws/apps/ticket.rb', line 66 attribute :size |
#url ⇒ String
Returns the URL to the attachment that can be used to download it.
71 |
# File 'lib/lws/apps/ticket.rb', line 71 attribute :url |