Sha256: a1ae4d150a214ab35910f41306ed7d2cd576c2bb7129518edd7e9a9d440ee6ea

Contents?: true

Size: 281 Bytes

Versions: 12

Compression:

Stored size: 281 Bytes

Contents

require 'faraday'

module Mrkt
  module FaradayMiddleware
    autoload :Response, 'mrkt/faraday_middleware/response'
  end

  if Faraday::Middleware.respond_to? :register_middleware
    Faraday::Response.register_middleware mkto: -> { Mrkt::FaradayMiddleware::Response }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mrkt-1.0.0 lib/mrkt/faraday_middleware.rb
mrkt-0.11.1 lib/mrkt/faraday_middleware.rb
mrkt-0.11.0 lib/mrkt/faraday_middleware.rb
mrkt-0.10.0 lib/mrkt/faraday_middleware.rb
mrkt-0.9.0 lib/mrkt/faraday_middleware.rb
mrkt-0.8.0 lib/mrkt/faraday_middleware.rb
mrkt-0.7.0 lib/mrkt/faraday_middleware.rb
mrkt-0.6.2 lib/mrkt/faraday_middleware.rb
mrkt-0.6.1 lib/mrkt/faraday_middleware.rb
mrkt-0.6.0 lib/mrkt/faraday_middleware.rb
mrkt-0.5.0 lib/mrkt/faraday_middleware.rb
mrkt-0.4.0 lib/mrkt/faraday_middleware.rb