Sha256: 39599995cbb319ead237ab51bdf5adfb3814ede0c93a438b794e90ed6194a0d6
Contents?: true
Size: 470 Bytes
Versions: 5
Compression:
Stored size: 470 Bytes
Contents
module Vedeu module Repository def adaptor @adaptor ||= Storage.new end def find(name) adaptor.find(entity, name) end def all adaptor.all(entity) end def query(entity, attribute, value) adaptor.query(entity, attribute, value) end def create(model) adaptor.create(model) end def delete(model) adaptor.delete(model) end def reset adaptor.reset(entity) end end end
Version data entries
5 entries across 5 versions & 1 rubygems