Sha256: 74e162a44a5cf1bf657863c24e04a1f8475afa48207a02812f851df9a498ebaa

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

module Rbacan
    class RolePermission < ApplicationRecord
        self.table_name = Rbacan.role_permission_table
        belongs_to :role, class_name: Rbacan.role_class
        belongs_to :permission, class_name: Rbacan.permission_class
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbacan-0.1.2 app/models/rbacan/role_permission.rb
rbacan-0.1.1 app/models/rbacan/role_permission.rb
rbacan-0.1.0 app/models/rbacan/role_permission.rb