Methods
#
N
T
Attributes
[RW] body
[RW] headers
[RW] method
[RW] path
Class Public methods
new(method, path, body = nil, headers = {})
# File activeresource/lib/active_resource/http_mock.rb, line 228
def initialize(method, path, body = nil, headers = {})
  @method, @path, @body, @headers = method, path, body, headers
end
Instance Public methods
==(req)
# File activeresource/lib/active_resource/http_mock.rb, line 232
def ==(req)
  path == req.path && method == req.method && headers_match?(req)
end
to_s()
# File activeresource/lib/active_resource/http_mock.rb, line 236
def to_s
  "<#{method.to_s.upcase}: #{path} [#{headers}] (#{body})>"
end