Module: SObjectModel::DmlMethods::ClassMethods

Defined in:
lib/sobject_model/dml_methods.rb

Instance Method Summary collapse

Instance Method Details

#create(values = {}) ⇒ Object



32
33
34
# File 'lib/sobject_model/dml_methods.rb', line 32

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