Class: ProjectPersonnelObject
- Inherits:
-
Object
- Object
- ProjectPersonnelObject
- Includes:
- DataFactory, Foundry
- Defined in:
- lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb
Instance Attribute Summary collapse
-
#academic_year_effort ⇒ Object
Returns the value of attribute academic_year_effort.
-
#calendar_year_effort ⇒ Object
Returns the value of attribute calendar_year_effort.
-
#faculty ⇒ Object
Returns the value of attribute faculty.
-
#financial ⇒ Object
Returns the value of attribute financial.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#full_name ⇒ Object
Returns the value of attribute full_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#lead_unit ⇒ Object
Returns the value of attribute lead_unit.
-
#principal_name ⇒ Object
Returns the value of attribute principal_name.
-
#project_role ⇒ Object
Returns the value of attribute project_role.
-
#recognition ⇒ Object
Returns the value of attribute recognition.
-
#responsibility ⇒ Object
Returns the value of attribute responsibility.
-
#role ⇒ Object
Returns the value of attribute role.
-
#space ⇒ Object
Returns the value of attribute space.
-
#summer_effort ⇒ Object
Returns the value of attribute summer_effort.
-
#total_effort ⇒ Object
Returns the value of attribute total_effort.
-
#units ⇒ Object
Returns the value of attribute units.
Instance Method Summary collapse
-
#create ⇒ Object
Note: This currently only has support for adding employees, not non-employees.
-
#initialize(browser, opts = {}) ⇒ ProjectPersonnelObject
constructor
A new instance of ProjectPersonnelObject.
Constructor Details
#initialize(browser, opts = {}) ⇒ ProjectPersonnelObject
Returns a new instance of ProjectPersonnelObject.
11 12 13 14 15 16 17 18 19 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 11 def initialize(browser, opts={}) @browser = browser defaults = { units: [] } (defaults.merge(opts)) end |
Instance Attribute Details
#academic_year_effort ⇒ Object
Returns the value of attribute academic_year_effort.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def academic_year_effort @academic_year_effort end |
#calendar_year_effort ⇒ Object
Returns the value of attribute calendar_year_effort.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def calendar_year_effort @calendar_year_effort end |
#faculty ⇒ Object
Returns the value of attribute faculty.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def faculty @faculty end |
#financial ⇒ Object
Returns the value of attribute financial.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def financial @financial end |
#first_name ⇒ Object
Returns the value of attribute first_name.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def first_name @first_name end |
#full_name ⇒ Object
Returns the value of attribute full_name.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def full_name @full_name end |
#last_name ⇒ Object
Returns the value of attribute last_name.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def last_name @last_name end |
#lead_unit ⇒ Object
Returns the value of attribute lead_unit.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def lead_unit @lead_unit end |
#principal_name ⇒ Object
Returns the value of attribute principal_name.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def principal_name @principal_name end |
#project_role ⇒ Object
Returns the value of attribute project_role.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def project_role @project_role end |
#recognition ⇒ Object
Returns the value of attribute recognition.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def recognition @recognition end |
#responsibility ⇒ Object
Returns the value of attribute responsibility.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def responsibility @responsibility end |
#role ⇒ Object
Returns the value of attribute role.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def role @role end |
#space ⇒ Object
Returns the value of attribute space.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def space @space end |
#summer_effort ⇒ Object
Returns the value of attribute summer_effort.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def summer_effort @summer_effort end |
#total_effort ⇒ Object
Returns the value of attribute total_effort.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def total_effort @total_effort end |
#units ⇒ Object
Returns the value of attribute units.
6 7 8 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 6 def units @units end |
Instance Method Details
#create ⇒ Object
Note: This currently only has support for adding employees, not non-employees.
23 24 25 |
# File 'lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb', line 23 def create end |