Sha256: 1cbed168887a9cb3af1741b727faff3dcc002e233b460ba0099ead7eed005172

Contents?: true

Size: 410 Bytes

Versions: 78

Compression:

Stored size: 410 Bytes

Contents

module Excon
  module Middleware
    class Base
      def initialize(stack)
        @stack = stack
      end

      def error_call(datum)
        # do stuff
        @stack.error_call(datum)
      end

      def request_call(datum)
        # do stuff
        @stack.request_call(datum)
      end

      def response_call(datum)
        @stack.response_call(datum)
        # do stuff
      end
    end
  end
end

Version data entries

78 entries across 78 versions & 5 rubygems

Version Path
excon-0.51.0 lib/excon/middlewares/base.rb
excon-0.50.1 lib/excon/middlewares/base.rb
excon-0.50.0 lib/excon/middlewares/base.rb
able-neo4j-1.0.0 vendor/bundle/jruby/1.9/gems/excon-0.45.4/lib/excon/middlewares/base.rb
excon-0.49.0 lib/excon/middlewares/base.rb
excon-0.48.0 lib/excon/middlewares/base.rb
excon-0.47.0 lib/excon/middlewares/base.rb
excon-0.46.0 lib/excon/middlewares/base.rb
framed_rails-0.2.0 vendor/gems/excon-0.45.3/lib/excon/middlewares/base.rb
framed_rails-0.1.7 vendor/gems/excon-0.45.3/lib/excon/middlewares/base.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/excon-0.45.4/lib/excon/middlewares/base.rb
framed_rails-0.1.5 vendor/gems/excon-0.45.3/lib/excon/middlewares/base.rb
framed_rails-0.1.4 vendor/gems/excon-0.45.3/lib/excon/middlewares/base.rb
framed_rails-0.1.3 vendor/gems/excon-0.45.3/lib/excon/middlewares/base.rb
framed_rails-0.1.2 vendor/gems/excon-0.45.3/lib/excon/middlewares/base.rb
framed_rails-0.1.0 vendor/gems/excon-0.45.3/lib/excon/middlewares/base.rb
excon-0.45.4 lib/excon/middlewares/base.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/excon-0.45.3/lib/excon/middlewares/base.rb
excon-0.45.3 lib/excon/middlewares/base.rb
excon-0.45.2 lib/excon/middlewares/base.rb