class SnFoil::Adapters::ORMs::BaseAdapter
Public Instance Methods
all()
click to toggle source
# File lib/sn_foil/adapters/orms/base_adapter.rb, line 13 def all raise NotImplementedError, '#all not implemented in adapter' end
attributes=(_attributes)
click to toggle source
# File lib/sn_foil/adapters/orms/base_adapter.rb, line 25 def attributes=(_attributes) raise NotImplementedError, '#attributes= not implemented in adapter' end
destroy()
click to toggle source
# File lib/sn_foil/adapters/orms/base_adapter.rb, line 21 def destroy raise NotImplementedError, '#destroy not implemented in adapter' end
is_a?(check_class)
click to toggle source
# File lib/sn_foil/adapters/orms/base_adapter.rb, line 29 def is_a?(check_class) __getobj__.class.object_id.equal?(check_class.object_id) end
klass()
click to toggle source
# File lib/sn_foil/adapters/orms/base_adapter.rb, line 33 def klass __getobj__.class end
new(**_params)
click to toggle source
# File lib/sn_foil/adapters/orms/base_adapter.rb, line 9 def new(**_params) raise NotImplementedError, '#new not implemented in adapter' end
save()
click to toggle source
# File lib/sn_foil/adapters/orms/base_adapter.rb, line 17 def save raise NotImplementedError, '#save not implemented in adapter' end