Class: MaxApiClient::Attachment
- Inherits:
-
Object
- Object
- MaxApiClient::Attachment
- Defined in:
- lib/max_api_client/attachments.rb,
sig/max_api_client.rbs
Overview
Base type for all outgoing attachment payload wrappers.
Direct Known Subclasses
AudioAttachment, FileAttachment, ImageAttachment, LocationAttachment, MediaAttachment, ShareAttachment, StickerAttachment, VideoAttachment
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Hash[Symbol, untyped]
6 7 8 |
# File 'lib/max_api_client/attachments.rb', line 6 def to_h raise NotImplementedError, "#{self.class} must implement #to_h" end |