Object
Add PATCH support
# File lib/active_resource/persistent_http_mock.rb, line 46 def patch(path, request_headers = {}, body = nil, status = 200, response_headers = {}) request = ActiveResource::Request.new(:patch, path, nil, request_headers) response = ActiveResource::Response.new(body || "", status, response_headers) delete_duplicate_responses(request) @responses << [request, response] end
Generated with the Darkfish Rdoc Generator 2.