Sha256: 9e95a72387581f5719ef9ede3cfcb2d0c6b55dd82042fd629ee884659f4c44bd

Contents?: true

Size: 340 Bytes

Versions: 6

Compression:

Stored size: 340 Bytes

Contents

module Kaui
  class AllowedUser < ActiveRecord::Base
    attr_accessible :kb_username, :description

    has_many :kaui_allowed_user_tenants, :class_name => 'Kaui::AllowedUserTenant', :foreign_key => 'kaui_allowed_user_id'
    has_many :kaui_tenants, :through => :kaui_allowed_user_tenants, :source => :kaui_tenant, :uniq => true
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kaui-0.9.0 app/models/kaui/allowed_user.rb
kaui-0.8.4 app/models/kaui/allowed_user.rb
kaui-0.8.3 app/models/kaui/allowed_user.rb
kaui-0.8.2 app/models/kaui/allowed_user.rb
kaui-0.8.1 app/models/kaui/allowed_user.rb
kaui-0.8.0 app/models/kaui/allowed_user.rb