Module: Mechanize::Handler
- Included in:
- Chain::AuthHeaders, Chain::BodyDecodingHandler, Chain::ConnectionResolver, Chain::CustomHeaders, Chain::HeaderResolver, Chain::ParameterResolver, Chain::PreConnectHook, Chain::RequestResolver, Chain::ResponseBodyParser, Chain::ResponseHeaderHandler, Chain::ResponseReader, Chain::SSLResolver, Chain::URIResolver
- Defined in:
- lib/mechanize/chain/handler.rb
Instance Attribute Summary collapse
-
#chain ⇒ Object
Returns the value of attribute chain.
Instance Method Summary collapse
Instance Attribute Details
#chain ⇒ Object
Returns the value of attribute chain.
3 4 5 |
# File 'lib/mechanize/chain/handler.rb', line 3 def chain @chain end |
Instance Method Details
#handle(ctx, request) ⇒ Object
5 6 7 |
# File 'lib/mechanize/chain/handler.rb', line 5 def handle(ctx, request) chain.pass(self, request) end |