Class: AssessmentSubmissionObject
- Inherits:
-
Object
- Object
- AssessmentSubmissionObject
- Includes:
- DataFactory, DateFactory, Foundry, StringFactory, Workflows
- Defined in:
- lib/sambal-cle/data_objects/assessment_submission.rb
Instance Attribute Summary collapse
-
#assessment ⇒ Object
Returns the value of attribute assessment.
Instance Method Summary collapse
-
#initialize(browser, opts = {}) ⇒ AssessmentSubmissionObject
constructor
A new instance of AssessmentSubmissionObject.
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 = { } = defaults.merge(opts) () # Note that the assessment requirement is for the Assessment Object itself. requires @assessment end |
Instance Attribute Details
#assessment ⇒ Object
Returns the value of attribute assessment.
9 10 11 |
# File 'lib/sambal-cle/data_objects/assessment_submission.rb', line 9 def assessment @assessment end |