Sha256: cabbe533c7ef082728d0b44c8df215150e51d73e797417aa8287715d6b2130c6

Contents?: true

Size: 266 Bytes

Versions: 3

Compression:

Stored size: 266 Bytes

Contents

module Gluttonberg
  class Authorization < ActiveRecord::Base
    self.table_name = "gb_authorizations"

    belongs_to :user
    belongs_to :authorizable, :polymorphic => true
    
    attr_accessible :authorizable_type, :authorizable_id, :user_id, :allow
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/models/gluttonberg/authorization.rb
gluttonberg-core-3.0.1 app/models/gluttonberg/authorization.rb
gluttonberg-core-3.0.0 app/models/gluttonberg/authorization.rb