Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant