Module: HTTPSpec
- Defined in:
- lib/http_spec.rb,
lib/http_spec/types.rb,
lib/http_spec/dsl/methods.rb,
lib/http_spec/clients/rack.rb,
lib/http_spec/dsl/resource.rb,
lib/http_spec/dsl/parameters.rb,
lib/http_spec/clients/faraday.rb,
lib/http_spec/clients/vcr_proxy.rb,
lib/http_spec/clients/fdoc_proxy.rb,
lib/http_spec/clients/webmachine.rb,
lib/http_spec/clients/raddocs_proxy.rb
Defined Under Namespace
Constant Summary collapse
- Request =
Value.new(:method, :path, :body, :headers)
- Response =
Value.new(:status, :body, :headers)
Class Attribute Summary collapse
-
.client ⇒ Object
Returns the value of attribute client.
Class Method Summary collapse
Class Attribute Details
.client ⇒ Object
Returns the value of attribute client.
3 4 5 |
# File 'lib/http_spec.rb', line 3 def client @client end |
Class Method Details
.dispatch(request) ⇒ Object
5 6 7 |
# File 'lib/http_spec.rb', line 5 def dispatch(request) client.dispatch(request) end |