getting-started/bookshelf/app/models/book.rb
# Set attribute values from provided Hash and save to Firestore.
Set attribute values from provided Hash and save to Firestore.
Set attribute values from provided Hash and save to Firestore .
def update attributes
    attributes.each do |name, value|
      send "#{name}=", value if respond_to? "#{name}="
    end
    update_image if cover_image
    save
  end
def update attributes attributes . each do | name , value | send "#{name}=" , value if respond_to? "#{name}=" end update_image if cover_image save end
Set attribute values from provided Hash and save to Firestore.
Set attribute values from provided Hash and save to Firestore .
attributes
<not_specific>