Method: Mautic::Model#attributes=

Defined in:
lib/mautic/model.rb

#attributes=(hash) ⇒ Object



128
129
130
131
132
133
# File 'lib/mautic/model.rb', line 128

def attributes=(hash)
  hash.each_pair do |k, v|
    k = k.to_sym
    @table[k] = v
  end
end