Class: Mailtrap::SandboxAttachment
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::SandboxAttachment
- Defined in:
- lib/mailtrap/sandbox_attachment.rb
Overview
Data Transfer Object for SandboxAttachment
Instance Attribute Summary collapse
-
#attachment_human_size ⇒ String
readonly
The attachment size in human-readable format.
-
#attachment_size ⇒ Integer
readonly
The attachment size in bytes.
-
#attachment_type ⇒ String
readonly
The attachment type.
-
#content_id ⇒ String
readonly
The attachment content ID.
-
#content_type ⇒ String
readonly
The attachment content type.
-
#created_at ⇒ String
readonly
The attachment creation timestamp.
-
#download_path ⇒ String
readonly
The attachment download path.
-
#filename ⇒ String
readonly
The attachment filename.
-
#id ⇒ Integer
readonly
The attachment ID.
-
#message_id ⇒ Integer
readonly
The message ID.
-
#transfer_encoding ⇒ String
readonly
The attachment transfer encoding.
-
#updated_at ⇒ String
readonly
The attachment update timestamp.
Instance Attribute Details
#attachment_human_size ⇒ String (readonly)
The attachment size in human-readable format
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def @attachment_human_size end |
#attachment_size ⇒ Integer (readonly)
The attachment size in bytes
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def @attachment_size end |
#attachment_type ⇒ String (readonly)
The attachment type
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def @attachment_type end |
#content_id ⇒ String (readonly)
The attachment content ID
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def content_id @content_id end |
#content_type ⇒ String (readonly)
The attachment content type
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def content_type @content_type end |
#created_at ⇒ String (readonly)
The attachment creation timestamp
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def created_at @created_at end |
#download_path ⇒ String (readonly)
The attachment download path
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def download_path @download_path end |
#filename ⇒ String (readonly)
The attachment filename
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def filename @filename end |
#id ⇒ Integer (readonly)
The attachment ID
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def id @id end |
#message_id ⇒ Integer (readonly)
The message ID
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def @message_id end |
#transfer_encoding ⇒ String (readonly)
The attachment transfer encoding
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def transfer_encoding @transfer_encoding end |
#updated_at ⇒ String (readonly)
The attachment update timestamp
19 20 21 |
# File 'lib/mailtrap/sandbox_attachment.rb', line 19 def updated_at @updated_at end |