Method: KeyPersonObject#initialize
- Defined in:
- lib/kuality-coeus/data_objects/proposal_development/key_personnel.rb
#initialize(browser, opts = {}) ⇒ KeyPersonObject
Note that you must pass in both first and last names (or neither).
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/kuality-coeus/data_objects/proposal_development/key_personnel.rb', line 16 def initialize(browser, opts={}) @browser = browser defaults = { role: 'Principal Investigator', units: [], degrees: collection('Degrees'), certified: true, # Set this to false if you do not want any Proposal Person Certification Questions answered certify_info_true: 'Y', potential_for_conflict: 'Y', submitted_financial_disclosures: 'Y', lobbying_activities: 'Y', excluded_from_transactions: 'Y', familiar_with_pla: 'Y' } (defaults.merge(opts)) requires :document_id @full_name="#{@first_name} #{@last_name}" end |