Module: Manticore::Client::ProxiesInterface

Included in:
Manticore::Client, BaseProxy
Defined in:
lib/manticore/client/proxies.rb

Instance Method Summary collapse

Instance Method Details

#asyncObject Also known as: parallel, batch

Causes the next request to be made asynchronously



9
10
11
# File 'lib/manticore/client/proxies.rb', line 9

def async
  AsyncProxy.new(self)
end

#backgroundObject

Causes the next request to be made immediately in the background



17
18
19
# File 'lib/manticore/client/proxies.rb', line 17

def background
  BackgroundProxy.new(self)
end

#respond_with(stubs) ⇒ Object



4
5
6
# File 'lib/manticore/client/proxies.rb', line 4

def respond_with(stubs)
  StubProxy.new(self, stubs)
end