Class: HTTP::Fake::Requester
- Inherits:
-
Object
- Object
- HTTP::Fake::Requester
- Includes:
- Chainable
- Defined in:
- lib/http/fake/requester.rb
Overview
Handles an incoming request.
Instance Method Summary collapse
-
#initialize(defaults = {}, builder: Builder.new) ⇒ Requester
constructor
A new instance of Requester.
- #request(verb, uri, arguments = {}) ⇒ Object
Constructor Details
Instance Method Details
#request(verb, uri, arguments = {}) ⇒ Object
14 |
# File 'lib/http/fake/requester.rb', line 14 def request(verb, uri, arguments = {}) = builder.request verb, uri, defaults.merge(arguments) |