class Patron::Session
def patch(url, data, headers = {})
-
(Patron::Response)
-
Parameters:
-
headers
(Hash
) -- the hash of header keys to values -
data
(#to_s, #to_path
) -- an object that can be converted to a String -
url
(String
) -- the URL to fetch
Other tags:
- Todo: - inconsistency with "post" - Hash not accepted
def patch(url, data, headers = {}) request(:patch, url, headers, :data => data) end