Methods

EventMachine::MockHttpRequest::FakeHttpClient

Public Instance Methods

setup(response, uri) click to toggle source
    # File lib/em-http/mock.rb, line 8
 8:       def setup(response, uri)
 9:         @uri = uri
10:         if response == :fail
11:           fail(self)
12:         else
13:           receive_data(response)
14:           succeed(self)
15:         end
16:       end
unbind() click to toggle source
    # File lib/em-http/mock.rb, line 18
18:       def unbind
19:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.