| 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 80
80: def initialize(method, path, body = nil, headers = {})
81: @method, @path, @body, @headers = method, path, body, headers.dup
82: @headers.update('Content-Type' => 'application/xml')
83: end
# File vendor/rails/activeresource/lib/active_resource/http_mock.rb, line 85
85: def ==(other_request)
86: other_request.hash == hash
87: end
# File vendor/rails/activeresource/lib/active_resource/http_mock.rb, line 89
89: def eql?(other_request)
90: self == other_request
91: end