# File lib/dm-adjust/model.rb, line 4 def adjust(*args) all.adjust(*args) end
increment or decrement attributes on all objects in a resource
@example [Usage]
* People.adjust(:salary => +1000) * Children.adjust(:allowance => -100)
@param attributes <Hash> A hash of attributes to adjust, and their adjustment @api public
# File lib/dm-adjust/model.rb, line 17 def adjust!(*args) all.adjust!(*args) end
Generated with the Darkfish Rdoc Generator 2.