Module: Freefeed::V1::Attachments
- Included in:
- Client
- Defined in:
- lib/freefeed/v1/attachments.rb
Instance Method Summary collapse
-
#create_attachment(source, content_type: nil) ⇒ Object
or an IO object.
Instance Method Details
#create_attachment(source, content_type: nil) ⇒ Object
or an IO object
11 12 13 14 |
# File 'lib/freefeed/v1/attachments.rb', line 11 def (source, content_type: nil) = { form: { file: file(source, content_type) } } authenticated_request(:post, "/v1/attachments", ) end |