class Patriot::Util::DBClient::Record
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)
Public Instance Methods
get_id()
click to toggle source
get serial id of this record
# File lib/patriot/util/db_client/record.rb, line 12 def get_id raise NotImplementedError end
to_hash(keys)
click to toggle source
convert this record to hash @param keys [Hash] attributes included in the returned hash
# File lib/patriot/util/db_client/record.rb, line 18 def to_hash(keys) raise NotImplementedError end