Tesla.Multipart.add_file
You're seeing just the function
add_file
, go back to Tesla.Multipart module for more information.
Specs
Add a file part. The file will be streamed.
Options
:name
- name of form param:filename
- filename (defaults to path basename):headers
- additional headers:detect_content_type
- auto-detect file content-type (defaults to false)