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.
-
#created_at ⇒ String
readonly
The timestamp of when the ticket message attachment was created.
-
#file_object ⇒ String
The URL of the attachment file object.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the ticket message attachment.
-
#message ⇒ Message
The ticket message associated with the attachment.
-
#message_id ⇒ Fixnum
The ID of the ticket message associated with the attachment.
-
#name ⇒ String
The name of the attachment.
-
#size ⇒ Fixnum
The size of the attachment (bytes).
-
#updated_at ⇒ String
readonly
The timestamp of when the ticket message attachment was last updated.
-
#url ⇒ String
The URL to the attachment that can be used to download it.
Instance Attribute Details
#av_scanned_at ⇒ String?
Returns the timestamp of when an anti-virus scan on the attached file was performed.
49 |
# File 'lib/lws/apps/ticket.rb', line 49 attribute :av_scanned_at |
#created_at ⇒ String (readonly)
Returns the timestamp of when the ticket message attachment was created.
80 |
# File 'lib/lws/apps/ticket.rb', line 80 attribute :created_at |
#file_object ⇒ String
Returns the URL of the attachment file object.
53 |
# File 'lib/lws/apps/ticket.rb', line 53 attribute :file_object |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the ticket message attachment.
44 |
# File 'lib/lws/apps/ticket.rb', line 44 attribute :id |
#message ⇒ Message
Returns the ticket message associated with the attachment.
57 |
# File 'lib/lws/apps/ticket.rb', line 57 belongs_to :message |
#message_id ⇒ Fixnum
Returns the ID of the ticket message associated with the attachment.
62 |
# File 'lib/lws/apps/ticket.rb', line 62 attribute :message_id |
#name ⇒ String
Returns the name of the attachment.
66 |
# File 'lib/lws/apps/ticket.rb', line 66 attribute :name |
#size ⇒ Fixnum
Returns the size of the attachment (bytes).
70 |
# File 'lib/lws/apps/ticket.rb', line 70 attribute :size |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the ticket message attachment was last updated.
85 |
# File 'lib/lws/apps/ticket.rb', line 85 attribute :updated_at |
#url ⇒ String
Returns the URL to the attachment that can be used to download it.
75 |
# File 'lib/lws/apps/ticket.rb', line 75 attribute :url |