Sha256: b8036f60df16583ac99198fce58789188281cb7a45b5b3af83ced23f3b80dbd2

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 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
  Parts = Multipart::Parts
  CompositeReadIO = Multipart::CompositeReadIO
  UploadIO = ::UploadIO
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faraday-multipart-1.0.2 lib/faraday/multipart.rb