Class: Mailtrap::Template
- Inherits:
-
Struct
- Object
- Struct
- Mailtrap::Template
- Defined in:
- lib/mailtrap/template.rb
Overview
Data Transfer Object for Template
Instance Attribute Summary collapse
-
#body_html ⇒ String
readonly
The HTML content.
-
#body_text ⇒ String
readonly
The plain text content.
-
#category ⇒ String
readonly
The template category.
-
#created_at ⇒ String
readonly
The creation timestamp.
-
#id ⇒ Integer
readonly
The template ID.
-
#name ⇒ String
readonly
The template name.
-
#subject ⇒ String
readonly
The email subject.
-
#updated_at ⇒ String
readonly
The last update timestamp.
-
#uuid ⇒ String
readonly
The template UUID.
Instance Attribute Details
#body_html ⇒ String (readonly)
The HTML content
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def body_html @body_html end |
#body_text ⇒ String (readonly)
The plain text content
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def body_text @body_text end |
#category ⇒ String (readonly)
The template category
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def category @category end |
#created_at ⇒ String (readonly)
The creation timestamp
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def created_at @created_at end |
#id ⇒ Integer (readonly)
The template ID
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def id @id end |
#name ⇒ String (readonly)
The template name
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def name @name end |
#subject ⇒ String (readonly)
The email subject
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def subject @subject end |
#updated_at ⇒ String (readonly)
The last update timestamp
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def updated_at @updated_at end |
#uuid ⇒ String (readonly)
The template UUID
14 15 16 |
# File 'lib/mailtrap/template.rb', line 14 def uuid @uuid end |