Method: Parse::API::Objects#update_object
- Defined in:
- lib/parse/api/objects.rb
#update_object(className, id, body = {}, headers: {}, **opts) ⇒ Parse::Response
Update an object in a collection.
113 114 115 116 117 |
# File 'lib/parse/api/objects.rb', line 113 def update_object(className, id, body = {}, headers: {}, **opts) response = request :put, uri_path(className,id) , body: body, headers: headers, opts: opts response.parse_class = className if response.present? response end |