Class: Mailosaur::Models::MessageReplyOptions
- Defined in:
- lib/Mailosaur/models/message_reply_options.rb
Instance Attribute Summary collapse
-
#attachments ⇒ Array<Attachment>
Any message attachments.
-
#html ⇒ String
reply.
-
#text ⇒ String
the reply.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ MessageReplyOptions
constructor
A new instance of MessageReplyOptions.
Methods inherited from BaseModel
Constructor Details
#initialize(data = {}) ⇒ MessageReplyOptions
4 5 6 7 8 |
# File 'lib/Mailosaur/models/message_reply_options.rb', line 4 def initialize(data = {}) @text = data['text'] @html = data['html'] = data['attachments'] end |
Instance Attribute Details
#attachments ⇒ Array<Attachment>
19 20 21 |
# File 'lib/Mailosaur/models/message_reply_options.rb', line 19 def end |
#html ⇒ String
reply. Note that only html or text can be supplied, not both.
16 17 18 |
# File 'lib/Mailosaur/models/message_reply_options.rb', line 16 def html @html end |
#text ⇒ String
the reply. Note that only text or html can be supplied, not both.
12 13 14 |
# File 'lib/Mailosaur/models/message_reply_options.rb', line 12 def text @text end |