Module: Yamori::DmlMethods::ClassMethods

Defined in:
lib/yamori/dml_methods.rb

Instance Method Summary collapse

Instance Method Details

#create(values = {}) ⇒ Object



27
28
29
# File 'lib/yamori/dml_methods.rb', line 27

def create(values = {})
  connection.create(name.to_sym, values, Object.const_get(name.to_sym))
end