Class: Mailosaur::Models::MessageForwardOptions
- Defined in:
- lib/Mailosaur/models/message_forward_options.rb
Instance Attribute Summary collapse
-
#html ⇒ String
with.
-
#text ⇒ String
email with.
-
#to ⇒ String
Must be a verified email address.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ MessageForwardOptions
constructor
A new instance of MessageForwardOptions.
Methods inherited from BaseModel
Constructor Details
#initialize(data = {}) ⇒ MessageForwardOptions
Returns a new instance of MessageForwardOptions.
4 5 6 7 8 |
# File 'lib/Mailosaur/models/message_forward_options.rb', line 4 def initialize(data = {}) @to = data['to'] @text = data['text'] @html = data['html'] end |
Instance Attribute Details
#html ⇒ String
with. Note that only html or text can be supplied, not both.
20 21 22 |
# File 'lib/Mailosaur/models/message_forward_options.rb', line 20 def html @html end |
#text ⇒ String
email with. Note that only text or html can be supplied, not both.
16 17 18 |
# File 'lib/Mailosaur/models/message_forward_options.rb', line 16 def text @text end |
#to ⇒ String
Must be a verified email address.
12 13 14 |
# File 'lib/Mailosaur/models/message_forward_options.rb', line 12 def to @to end |