Sha256: 205dec851afce6d4f4fcdf4075721983ce5833cd03893b9a289e1a0aca027efa
Contents?: true
Size: 567 Bytes
Versions: 14
Compression:
Stored size: 567 Bytes
Contents
module Patriot module Util module DBClient # a class for abstracting access to records # sub classes of this class should provide accessers for columns or select items # (e.g. overwrite method_missing) class Record # get serial id of this record def get_id raise NotImplementedError end # convert this record to hash # @param keys [Hash] attributes included in the returned hash def to_hash(keys) raise NotImplementedError end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems