Class: SObjectModel::Adapter::Base
- Inherits:
-
Object
- Object
- SObjectModel::Adapter::Base
- Defined in:
- lib/sobject_model/adapter/base.rb
Instance Method Summary collapse
- #create(object_type, values, klass = nil) ⇒ Object
- #delete(object_type, id) ⇒ Object
- #describe(object_type) ⇒ Object
- #exec_query(soql, model_class: nil) ⇒ Object
- #find(object_type, id, klass) ⇒ Object
- #query(soql, klass) ⇒ Object
- #update(object_type, id, values) ⇒ Object
Instance Method Details
#create(object_type, values, klass = nil) ⇒ Object
12 13 14 |
# File 'lib/sobject_model/adapter/base.rb', line 12 def create(object_type, values, klass = nil) raise 'this method is not implemented' end |
#delete(object_type, id) ⇒ Object
20 21 22 |
# File 'lib/sobject_model/adapter/base.rb', line 20 def delete(object_type, id) raise 'this method is not implemented' end |
#describe(object_type) ⇒ Object
28 29 30 |
# File 'lib/sobject_model/adapter/base.rb', line 28 def describe(object_type) raise 'this method is not implemented' end |
#exec_query(soql, model_class: nil) ⇒ Object
4 5 6 |
# File 'lib/sobject_model/adapter/base.rb', line 4 def exec_query(soql, model_class: nil) raise 'this method is not implemented' end |
#find(object_type, id, klass) ⇒ Object
8 9 10 |
# File 'lib/sobject_model/adapter/base.rb', line 8 def find(object_type, id, klass) raise 'this method is not implemented' end |
#query(soql, klass) ⇒ Object
24 25 26 |
# File 'lib/sobject_model/adapter/base.rb', line 24 def query(soql, klass) raise 'this method is not implemented' end |
#update(object_type, id, values) ⇒ Object
16 17 18 |
# File 'lib/sobject_model/adapter/base.rb', line 16 def update(object_type, id, values) raise 'this method is not implemented' end |