Method: Dynamoid::Persistence#update

Defined in:
lib/dynamoid/persistence.rb

#update(conditions = {}, &block) ⇒ Object



324
325
326
327
328
329
# File 'lib/dynamoid/persistence.rb', line 324

def update(conditions = {}, &block)
  update!(conditions, &block)
  true
rescue Dynamoid::Errors::StaleObjectError
  false
end