Method: Parse::Properties#attributes=

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

#attributes=(hash) ⇒ Hash

Supports mass assignment of attributes

Returns:



475
476
477
478
479
480
# File 'lib/parse/model/core/properties.rb', line 475

def attributes=(hash)
  return unless hash.is_a?(Hash)
  # - [:id, :objectId]
  # only overwrite @id if it hasn't been set.
  apply_attributes!(hash, dirty_track: true)
end