Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Added the ability to pass a file like object to upload_attachment, in ad... #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jason-o-matic
Copy link

...dition to a file path.

This allows passing in an ActionDispatch::Http::UploadedFile, or any other file like object, which RestClient takes care of uploading.

@jason-o-matic
Copy link
Author

This is useful for applications that don't have filesystem access. This allows you to attach data you have in memory, via a StringIO object, for example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant