Class: MaxApiClient::FileAttachment
- Inherits:
-
Attachment
- Object
- Attachment
- MaxApiClient::FileAttachment
- Defined in:
- lib/max_api_client/attachments.rb,
sig/max_api_client.rbs
Overview
Attachment wrapper for generic uploaded files.
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
63 64 65 |
# File 'lib/max_api_client/attachments.rb', line 63 def to_h { type: "file", payload: } end |