Module: DoubleAuthEngine::AssignmentMixin

Included in:
Assignment
Defined in:
lib/double_auth_engine/models/assignment_mixin.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/double_auth_engine/models/assignment_mixin.rb', line 3

def self.included(base)
  base.class_eval do
    belongs_to :user
    belongs_to :role
  end
end