Module: Inferno::DSL::HTTPClient::ClassMethods
- Included in:
- Entities::TestGroup, Entities::TestSuite
- Defined in:
- lib/inferno/dsl/http_client.rb
Instance Method Summary collapse
-
#http_client(name = :default, &block) ⇒ void
Define a HTTP client to be used by a Runnable.
- #http_client_definitions ⇒ Object
Instance Method Details
#http_client(name = :default, &block) ⇒ void
This method returns an undefined value.
Define a HTTP client to be used by a Runnable.
206 207 208 |
# File 'lib/inferno/dsl/http_client.rb', line 206 def http_client(name = :default, &block) http_client_definitions[name] = block end |
#http_client_definitions ⇒ Object
195 196 197 |
# File 'lib/inferno/dsl/http_client.rb', line 195 def http_client_definitions @http_client_definitions ||= {} end |