Module: DataMapper::Resource

Defined in:
lib/dm-adjust/resource.rb

Instance Method Summary collapse

Instance Method Details

#adjust(attributes = {}, reload = false) ⇒ Object



3
4
5
# File 'lib/dm-adjust/resource.rb', line 3

def adjust(attributes = {}, reload = false)
  collection_for_self.adjust(*args)
end

#adjust!(*args) ⇒ Object



7
8
9
# File 'lib/dm-adjust/resource.rb', line 7

def adjust!(*args)
  collection_for_self.adjust!(*args)
end