Class: Entitlements::Extras::Orgchart::Base
- Inherits:
-
Base
- Object
- Base
- Entitlements::Extras::Orgchart::Base
show all
- Defined in:
- lib/entitlements/extras/orgchart/base.rb
Constant Summary
Constants inherited
from Base
Base::C
Class Method Summary
collapse
Methods inherited from Base
config
common, extended, included
Class Method Details
.init ⇒ Object
10
11
12
13
14
15
|
# File 'lib/entitlements/extras/orgchart/base.rb', line 10
def self.init
require_relative "logic"
require_relative "person_methods"
require_relative "rules/direct_report"
require_relative "rules/management"
end
|
.person_methods ⇒ Object
21
22
23
|
# File 'lib/entitlements/extras/orgchart/base.rb', line 21
def self.person_methods
%w[manager]
end
|
.rules ⇒ Object
17
18
19
|
# File 'lib/entitlements/extras/orgchart/base.rb', line 17
def self.rules
%w[direct_report management]
end
|