Sha256: e6ff7a33ffc2a5cc971916d57cd5df779f45cb1162a629092189856febddcb61

Contents?: true

Size: 617 Bytes

Versions: 7

Compression:

Stored size: 617 Bytes

Contents

# frozen_string_literal: true

require_relative 'multipart/file_part'
require_relative 'multipart/param_part'
require_relative 'multipart/middleware'
require_relative 'multipart/version'

module Faraday
  # Main Faraday::Multipart module.
  module Multipart
    Faraday::Request.register_middleware(multipart: Faraday::Multipart::Middleware)
  end

  # Aliases for Faraday v1, these are all deprecated and will be removed in v2 of this middleware
  FilePart = Multipart::FilePart
  ParamPart = Multipart::ParamPart
  Parts = Multipart::Parts
  CompositeReadIO = Multipart::CompositeReadIO
  UploadIO = ::UploadIO
end

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb
plaid-14.13.0 vendor/bundle/ruby/3.0.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb
plaid-14.12.1 vendor/bundle/ruby/3.0.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb
plaid-14.12.0 vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb
plaid-14.11.1 vendor/bundle/ruby/2.6.0/gems/faraday-multipart-1.0.3/lib/faraday/multipart.rb
faraday-multipart-1.0.3 lib/faraday/multipart.rb