Class: ProjectPersonnelObject

Inherits:
Object
  • Object
show all
Includes:
DataFactory, Foundry
Defined in:
lib/kuality-coeus/data_objects/institutional_proposal/project_personnel.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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: []
  }

  set_options(defaults.merge(opts))
end

Instance Attribute Details

#academic_year_effortObject

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_effortObject

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

#facultyObject

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

#financialObject

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_nameObject

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_nameObject

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_nameObject

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_unitObject

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_nameObject

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_roleObject

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

#recognitionObject

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

#responsibilityObject

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

#roleObject

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

#spaceObject

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_effortObject

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_effortObject

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

#unitsObject

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

#createObject

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