Sha256: ca4670f273673b43be0aa04014d9541d0cede5da6a73b2bcd01ca970d5bbc33a
Contents?: true
Size: 439 Bytes
Versions: 4
Compression:
Stored size: 439 Bytes
Contents
require_relative 'storage' 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 reset adaptor.reset(entity) end end end
Version data entries
4 entries across 4 versions & 1 rubygems