Class: Yamori::Adapter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/yamori/adapter/base.rb

Direct Known Subclasses

Rest

Instance Method Summary collapse

Instance Method Details

#create(object_type, values, klass = nil) ⇒ Object



12
13
14
# File 'lib/yamori/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/yamori/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/yamori/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/yamori/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/yamori/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/yamori/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/yamori/adapter/base.rb', line 16

def update(object_type, id, values)
  raise 'this method is not implemented'
end