Method: Qiita::Client#patch

Defined in:
lib/qiita/client.rb

#patch(path, params = nil, headers = nil) ⇒ Object

### Qiita::Client#patch(path, params = nil, headers = nil) Sends PATCH request with given parameters, then returns a Qiita::Response. ‘params` are JSON-encoded and used as request body.

“‘rb client.patch(“/api/v2/items/543efd13001e30837319”, title: “…”, body: “…”) “`



77
78
79
# File 'lib/qiita/client.rb', line 77

def patch(path, params = nil, headers = nil)
  process(:patch, path, params, headers)
end