Module: HttpMonkey

Defined in:
lib/http_monkey.rb,
lib/http_monkey/client.rb,
lib/http_monkey/version.rb,
lib/http_monkey/entry_point.rb,
lib/http_monkey/middlewares.rb,
lib/http_monkey/configuration.rb,
lib/http_monkey/client/response.rb,
lib/http_monkey/client/environment.rb,
lib/http_monkey/configuration/behaviours.rb,
lib/http_monkey/configuration/middlewares.rb,
lib/http_monkey/client/environment_builder.rb

Defined Under Namespace

Modules: EntryPointFluentInterface, Middlewares Classes: Client, Configuration, EntryPoint

Constant Summary collapse

VERSION =
"0.0.4"
M =
Middlewares

Class Method Summary collapse

Class Method Details

.at(url) ⇒ Object



21
22
23
# File 'lib/http_monkey.rb', line 21

def self.at(url)
  default_client.at(url)
end

.build(&block) ⇒ Object



29
30
31
# File 'lib/http_monkey.rb', line 29

def self.build(&block)
  HttpMonkey::Client.new.configure(&block)
end

.configure(&block) ⇒ Object



25
26
27
# File 'lib/http_monkey.rb', line 25

def self.configure(&block)
  default_client.configure(&block)
end