| Class | ActiveResource::Request |
| In: |
vendor/rails/activeresource/lib/active_resource/http_mock.rb
|
| Parent: | Object |
| body | [RW] | |
| headers | [RW] | |
| method | [RW] | |
| path | [RW] |
# File vendor/rails/activeresource/lib/active_resource/http_mock.rb, line 151
151: def initialize(method, path, body = nil, headers = {})
152: @method, @path, @body, @headers = method, path, body, headers.reverse_merge('Content-Type' => 'application/xml')
153: end
# File vendor/rails/activeresource/lib/active_resource/http_mock.rb, line 155
155: def ==(other_request)
156: other_request.hash == hash
157: end
# File vendor/rails/activeresource/lib/active_resource/http_mock.rb, line 159
159: def eql?(other_request)
160: self == other_request
161: end