| Class | ActiveResource::Request |
| In: |
activeresource/lib/active_resource/http_mock.rb
|
| Parent: | Object |
| body | [RW] | |
| headers | [RW] | |
| method | [RW] | |
| path | [RW] |
# File activeresource/lib/active_resource/http_mock.rb, line 80 def initialize(method, path, body = nil, headers = {}) @method, @path, @body, @headers = method, path, body, headers @headers.update('Content-Type' => 'application/xml') end
# File activeresource/lib/active_resource/http_mock.rb, line 85 def ==(other_request) other_request.hash == hash end
# File activeresource/lib/active_resource/http_mock.rb, line 89 def eql?(other_request) self == other_request end