Module: Magi::Proprietary
Defined Under Namespace
Modules: ClassMethods Classes: Property
Instance Method Summary collapse
Instance Method Details
#update_properties(properties) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/magi/proprietary.rb', line 5 def update_properties(properties) properties.each do |key, value| send("#{key}=", value) end save end |