Class: AssessmentSubmissionObject

Inherits:
Object
  • Object
show all
Includes:
DataFactory, DateFactory, Foundry, StringFactory, Workflows
Defined in:
lib/sambal-cle/data_objects/assessment_submission.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Workflows

menu_link, #open_my_site_by_name, #reset

Constructor Details

#initialize(browser, opts = {}) ⇒ AssessmentSubmissionObject

Returns a new instance of AssessmentSubmissionObject.



11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/sambal-cle/data_objects/assessment_submission.rb', line 11

def initialize(browser, opts={})
  @browser = browser

  defaults = {

  }
  options = defaults.merge(opts)

  set_options(options)
  # Note that the assessment requirement is for the Assessment Object itself.
  requires @assessment
end

Instance Attribute Details

#assessmentObject

Returns the value of attribute assessment.



9
10
11
# File 'lib/sambal-cle/data_objects/assessment_submission.rb', line 9

def assessment
  @assessment
end