Class: MessageQuickly::Messaging::TemplateAttachment
- Inherits:
-
Attachment
- Object
- Base
- Attachment
- MessageQuickly::Messaging::TemplateAttachment
- Defined in:
- lib/message_quickly/messaging/template_attachment.rb
Direct Known Subclasses
ButtonTemplateAttachment, GenericTemplateAttachment, ReceiptTemplateAttachment
Instance Attribute Summary collapse
-
#template_type ⇒ Object
Returns the value of attribute template_type.
Attributes inherited from Attachment
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ TemplateAttachment
constructor
A new instance of TemplateAttachment.
Methods inherited from Attachment
Constructor Details
#initialize(params = {}) ⇒ TemplateAttachment
Returns a new instance of TemplateAttachment.
7 8 9 10 |
# File 'lib/message_quickly/messaging/template_attachment.rb', line 7 def initialize(params = {}) params['type'] ||= 'template' super(params) end |
Instance Attribute Details
#template_type ⇒ Object
Returns the value of attribute template_type.
5 6 7 |
# File 'lib/message_quickly/messaging/template_attachment.rb', line 5 def template_type @template_type end |