Sha256: bc4d16e818b55dfbfe009b1a4263bbc877b91df35fdc65a85d28c98f56455ce8
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
module Superstore module Adapters class AbstractAdapter def initialize end # Read records from a instance of Superstore::Scope def select(scope) # abstract end # Insert a new row def insert(table, id, attributes) # abstract end # Update an existing row def update(table, id, attributes) # abstract end # Delete rows by an array of ids def delete(table, ids) # abstract end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
superstore-3.0.0 | lib/superstore/adapters/abstract_adapter.rb |
superstore-2.5.0 | lib/superstore/adapters/abstract_adapter.rb |