Method: Parse::Core::Actions#update

Defined in:
lib/parse/model/core/actions.rb

#updateBoolean

Save all the changes related to this object.

Returns:

  • true/false whether it was successful.



449
450
451
452
# File 'lib/parse/model/core/actions.rb', line 449

def update
  return true unless attribute_changes?
  update!
end