method

new

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActiveResource::Request
new(method, path, body = nil, headers = {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activeresource/lib/active_resource/http_mock.rb, line 148
    def initialize(method, path, body = nil, headers = {})
      @method, @path, @body, @headers = method, path, body, headers.merge(ActiveResource::Connection::HTTP_FORMAT_HEADER_NAMES[method] => 'application/xml')
    end
Register or log in to add new notes.