Class: Caliper::Entities::Assignable::AssignableDigitalResource
- Inherits:
-
DigitalResource
- Object
- Entity
- EntityBase
- DigitalResource
- Caliper::Entities::Assignable::AssignableDigitalResource
- Defined in:
- lib/caliper/entities/assignable/assignable_digital_resource.rb
Direct Known Subclasses
Caliper::Entities::Assessment::Assessment, Caliper::Entities::Assessment::AssessmentItem
Instance Attribute Summary collapse
-
#dateToActivate ⇒ Object
Returns the value of attribute dateToActivate.
-
#dateToShow ⇒ Object
Returns the value of attribute dateToShow.
-
#dateToStartOn ⇒ Object
Returns the value of attribute dateToStartOn.
-
#dateToSubmit ⇒ Object
Returns the value of attribute dateToSubmit.
-
#maxAttempts ⇒ Object
Returns the value of attribute maxAttempts.
-
#maxScore ⇒ Object
Returns the value of attribute maxScore.
-
#maxSubmits ⇒ Object
Returns the value of attribute maxSubmits.
Attributes inherited from DigitalResource
#alignedLearningObjective, #datePublished, #isPartOf, #keywords, #objectType, #version
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ AssignableDigitalResource
constructor
A new instance of AssignableDigitalResource.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ AssignableDigitalResource
Returns a new instance of AssignableDigitalResource.
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 31 def initialize super @type = Caliper::Entities::DigitalResourceType::ASSIGNABLE_DIGITAL_RESOURCE @dateToActivate = nil @dateToShow = nil @dateToStartOn = nil @dateToSubmit = nil @maxAttempts = nil @maxSubmits = nil @maxScore = nil end |
Instance Attribute Details
#dateToActivate ⇒ Object
Returns the value of attribute dateToActivate.
29 30 31 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 29 def dateToActivate @dateToActivate end |
#dateToShow ⇒ Object
Returns the value of attribute dateToShow.
29 30 31 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 29 def dateToShow @dateToShow end |
#dateToStartOn ⇒ Object
Returns the value of attribute dateToStartOn.
29 30 31 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 29 def dateToStartOn @dateToStartOn end |
#dateToSubmit ⇒ Object
Returns the value of attribute dateToSubmit.
29 30 31 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 29 def dateToSubmit @dateToSubmit end |
#maxAttempts ⇒ Object
Returns the value of attribute maxAttempts.
29 30 31 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 29 def maxAttempts @maxAttempts end |
#maxScore ⇒ Object
Returns the value of attribute maxScore.
29 30 31 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 29 def maxScore @maxScore end |
#maxSubmits ⇒ Object
Returns the value of attribute maxSubmits.
29 30 31 |
# File 'lib/caliper/entities/assignable/assignable_digital_resource.rb', line 29 def maxSubmits @maxSubmits end |