Class: ApiProppatch

Inherits:
ApiMethod show all
Defined in:
lib/tester/definition/methods/api_proppatch.rb

Instance Attribute Summary

Attributes inherited from ApiMethod

#expected_response, #request

Instance Method Summary collapse

Methods inherited from ApiMethod

#initialize

Constructor Details

This class inherits a constructor from ApiMethod

Instance Method Details

#call(url, params = {}, headers = {}) ⇒ Object



6
7
8
# File 'lib/tester/definition/methods/api_proppatch.rb', line 6

def call url, params={}, headers={}
  RestClient::Request.execute(method: :proppatch, url: url, headers: headers)
end

#verbObject



10
11
12
# File 'lib/tester/definition/methods/api_proppatch.rb', line 10

def verb
  SupportedVerbs::PROPPATCH
end