Method: Sohm::Model#update_attributes

Defined in:
lib/sohm.rb

#update_attributes(atts) ⇒ Object

Write the dictionary of key-value pairs to the model.



1222
1223
1224
# File 'lib/sohm.rb', line 1222

def update_attributes(atts)
  unpack_attrs(atts).each { |att, val| send(:"#{att}=", val) }
end