class SnFoil::Adapters::ORMs::ActiveRecord

Public Instance Methods

all() click to toggle source
# File lib/sn_foil/adapters/orms/active_record.rb, line 13
def all
  __getobj__.all
end
attributes=(attributes) click to toggle source
# File lib/sn_foil/adapters/orms/active_record.rb, line 26
def attributes=(attributes)
  __getobj__.attributes = attributes
end
destroy() click to toggle source
# File lib/sn_foil/adapters/orms/active_record.rb, line 21
def destroy
  __getobj__.destroy
  __getobj__.destroyed?
end
new(**params) click to toggle source
# File lib/sn_foil/adapters/orms/active_record.rb, line 9
def new(**params)
  self.class.new(__getobj__.new(params))
end
save() click to toggle source
# File lib/sn_foil/adapters/orms/active_record.rb, line 17
def save
  __getobj__.save
end