Module: Faraday::Multipart
- Defined in:
- lib/faraday/multipart.rb,
lib/faraday/multipart/version.rb,
lib/faraday/multipart/file_part.rb,
lib/faraday/multipart/middleware.rb,
lib/faraday/multipart/param_part.rb
Overview
Main Faraday::Multipart module.
Defined Under Namespace
Classes: CompositeReadIO, Middleware, ParamPart
Constant Summary collapse
- VERSION =
'1.0.3'
- FilePart =
The uploaded binary data’s content type.
The base filename, taken either from the filename_or_io or filename arguments in #initialize.
Extra String key/value pairs to make up the header for this uploaded file.
The open IO object for the uploaded file.
::UploadIO
- Parts =
::Parts
Instance Attribute Summary collapse
-
#content_type ⇒ Faraday::FilePart, ...
readonly
The uploaded binary data’s content type.
-
#io ⇒ Faraday::FilePart, ...
readonly
The uploaded binary data’s content type.
-
#opts ⇒ Faraday::FilePart, ...
readonly
The uploaded binary data’s content type.
-
#original_filename ⇒ Faraday::FilePart, ...
readonly
The uploaded binary data’s content type.
Instance Method Summary collapse
Instance Attribute Details
#content_type ⇒ Faraday::FilePart, ... (readonly)
The uploaded binary data’s content type.
The base filename, taken either from the filename_or_io or filename arguments in #initialize.
Extra String key/value pairs to make up the header for this uploaded file.
The open IO object for the uploaded file.
54 |
# File 'lib/faraday/multipart/file_part.rb', line 54 FilePart = ::UploadIO |
#io ⇒ Faraday::FilePart, ... (readonly)
The uploaded binary data’s content type.
The base filename, taken either from the filename_or_io or filename arguments in #initialize.
Extra String key/value pairs to make up the header for this uploaded file.
The open IO object for the uploaded file.
54 |
# File 'lib/faraday/multipart/file_part.rb', line 54 FilePart = ::UploadIO |
#opts ⇒ Faraday::FilePart, ... (readonly)
The uploaded binary data’s content type.
The base filename, taken either from the filename_or_io or filename arguments in #initialize.
Extra String key/value pairs to make up the header for this uploaded file.
The open IO object for the uploaded file.
54 |
# File 'lib/faraday/multipart/file_part.rb', line 54 FilePart = ::UploadIO |
#original_filename ⇒ Faraday::FilePart, ... (readonly)
The uploaded binary data’s content type.
The base filename, taken either from the filename_or_io or filename arguments in #initialize.
Extra String key/value pairs to make up the header for this uploaded file.
The open IO object for the uploaded file.
54 |
# File 'lib/faraday/multipart/file_part.rb', line 54 FilePart = ::UploadIO |
Instance Method Details
#initialize(filename_or_io, content_type, filename = nil, opts = {}) ⇒ Object
54 |
# File 'lib/faraday/multipart/file_part.rb', line 54 FilePart = ::UploadIO |