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.
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 |