method
new
v2.0.3 -
Show latest stable
- Class:
ActiveResource::Request
new(method, path, body = nil, headers = {})public
No documentation available.
# 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.reverse_merge('Content-Type' => 'application/xml')
end