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
Rubocop doesn’t seem to understand that this is an extension to the Multipart module, so let’s add a nodoc #:nodoc:
Defined Under Namespace
Classes: CompositeReadIO, Middleware, ParamPart
Constant Summary collapse
- VERSION =
'1.1.0'
- FilePart =
::UploadIO
- Parts =
::Parts
Class Method Summary collapse
Class Method Details
.multipart_post_version ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/faraday/multipart/version.rb', line 8 def self.multipart_post_version require 'multipart/post/version' ::Gem::Version.new(::Multipart::Post::VERSION) rescue LoadError require 'multipart_post' ::Gem::Version.new(::MultipartPost::VERSION) end |