Method: Dynamoid::Persistence#update
- Defined in:
- lib/dynamoid/persistence.rb
#update(conditions = {}, &block) ⇒ Object
212 213 214 215 216 217 |
# File 'lib/dynamoid/persistence.rb', line 212 def update(conditions = {}, &block) update!(conditions, &block) true rescue Dynamoid::Errors::StaleObjectError false end |