Sha256: d5a5e2e3d9de2ea0528ac3103bc8d1658d8ba1bcf9f0dea11f2fcc15df34d367
Contents?: true
Size: 424 Bytes
Versions: 1
Compression:
Stored size: 424 Bytes
Contents
require 'facemock/database/table' module Facemock class Database class Permission < Table TABLE_NAME = :permissions COLUMN_NAMES = [:id, :name, :user_id, :created_at] def initialize(options={}) opts = Hashie::Mash.new(options) @id = opts.id @name = opts.name @user_id = opts.user_id @created_at = opts.created_at end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facemock-0.0.7 | lib/facemock/database/permission.rb |