Class: Caliper::Entities::Outcome::Result
- Inherits:
-
EntityBase
- Object
- Entity
- EntityBase
- Caliper::Entities::Outcome::Result
- Includes:
- Generatable
- Defined in:
- lib/caliper/entities/outcome/result.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
Returns the value of attribute actor.
-
#assignable ⇒ Object
Returns the value of attribute assignable.
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#curvedTotalScore ⇒ Object
Returns the value of attribute curvedTotalScore.
-
#curveFactor ⇒ Object
Returns the value of attribute curveFactor.
-
#extraCreditScore ⇒ Object
Returns the value of attribute extraCreditScore.
-
#normalScore ⇒ Object
Returns the value of attribute normalScore.
-
#penaltyScore ⇒ Object
Returns the value of attribute penaltyScore.
-
#scoredBy ⇒ Object
Returns the value of attribute scoredBy.
-
#totalScore ⇒ Object
Returns the value of attribute totalScore.
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ Result
constructor
A new instance of Result.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ Result
Returns a new instance of Result.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/caliper/entities/outcome/result.rb', line 34 def initialize super @type = Caliper::Entities::EntityType::RESULT @assignable = nil @actor = nil @normalScore = nil @penaltyScore = nil @extraCreditScore = nil @totalScore = nil @curvedTotalScore = nil @curveFactor = nil @comment = nil @scoredBy = nil end |
Instance Attribute Details
#actor ⇒ Object
Returns the value of attribute actor.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def actor @actor end |
#assignable ⇒ Object
Returns the value of attribute assignable.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def assignable @assignable end |
#comment ⇒ Object
Returns the value of attribute comment.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def comment @comment end |
#curvedTotalScore ⇒ Object
Returns the value of attribute curvedTotalScore.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def curvedTotalScore @curvedTotalScore end |
#curveFactor ⇒ Object
Returns the value of attribute curveFactor.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def curveFactor @curveFactor end |
#extraCreditScore ⇒ Object
Returns the value of attribute extraCreditScore.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def extraCreditScore @extraCreditScore end |
#normalScore ⇒ Object
Returns the value of attribute normalScore.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def normalScore @normalScore end |
#penaltyScore ⇒ Object
Returns the value of attribute penaltyScore.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def penaltyScore @penaltyScore end |
#scoredBy ⇒ Object
Returns the value of attribute scoredBy.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def scoredBy @scoredBy end |
#totalScore ⇒ Object
Returns the value of attribute totalScore.
31 32 33 |
# File 'lib/caliper/entities/outcome/result.rb', line 31 def totalScore @totalScore end |