Sha256: 9fe25f4ebe65982da931640cce9ddd4d77b35da804f60a7a8079fc9152ea7ffc

Contents?: true

Size: 254 Bytes

Versions: 6

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

module BoletoSimples
  module Middleware
    class LastRequest < Faraday::Response::Middleware
      def on_complete(env)
        BoletoSimples.last_request = BoletoSimples::LastRequest.new(env)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
boletosimples-2.1.0 lib/boletosimples/middlewares/last_request.rb
boletosimples-2.0.0 lib/boletosimples/middlewares/last_request.rb
boletosimples-1.0.4 lib/boletosimples/middlewares/last_request.rb
boletosimples-1.0.3 lib/boletosimples/middlewares/last_request.rb
boletosimples-1.0.2 lib/boletosimples/middlewares/last_request.rb
boletosimples-1.0.1 lib/boletosimples/middlewares/last_request.rb