Class: Excon::Middleware::Base
- Inherits:
-
Object
- Object
- Excon::Middleware::Base
show all
- Defined in:
- lib/excon/middlewares/base.rb
Instance Method Summary
collapse
Constructor Details
#initialize(stack) ⇒ Base
Returns a new instance of Base.
4
5
6
|
# File 'lib/excon/middlewares/base.rb', line 4
def initialize(stack)
@stack = stack
end
|
Instance Method Details
#error_call(datum) ⇒ Object
8
9
10
11
|
# File 'lib/excon/middlewares/base.rb', line 8
def error_call(datum)
@stack.error_call(datum)
end
|
#request_call(datum) ⇒ Object
13
14
15
16
|
# File 'lib/excon/middlewares/base.rb', line 13
def request_call(datum)
@stack.request_call(datum)
end
|
#response_call(datum) ⇒ Object
18
19
20
21
|
# File 'lib/excon/middlewares/base.rb', line 18
def response_call(datum)
@stack.response_call(datum)
end
|