Class: CanvasCc::CanvasCC::Models::Outcome
- Inherits:
-
Object
- Object
- CanvasCc::CanvasCC::Models::Outcome
- Defined in:
- lib/canvas_cc/canvas_cc/models/outcome.rb
Constant Summary collapse
- DEFAULT_CALCULATION_INT =
65
Instance Attribute Summary collapse
-
#alignments ⇒ Object
Returns the value of attribute alignments.
-
#calculation_int ⇒ Object
Returns the value of attribute calculation_int.
-
#calculation_method ⇒ Object
Returns the value of attribute calculation_method.
-
#description ⇒ Object
Returns the value of attribute description.
-
#external_identifier ⇒ Object
Returns the value of attribute external_identifier.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#is_global_outcome ⇒ Object
Returns the value of attribute is_global_outcome.
-
#mastery_points ⇒ Object
Returns the value of attribute mastery_points.
-
#points_possible ⇒ Object
Returns the value of attribute points_possible.
-
#ratings ⇒ Object
Returns the value of attribute ratings.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Outcome
constructor
A new instance of Outcome.
Constructor Details
#initialize ⇒ Outcome
Returns a new instance of Outcome.
9 10 11 12 13 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 9 def initialize @ratings = [] @alignments = [] @calculation_int = DEFAULT_CALCULATION_INT end |
Instance Attribute Details
#alignments ⇒ Object
Returns the value of attribute alignments.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def alignments @alignments end |
#calculation_int ⇒ Object
Returns the value of attribute calculation_int.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def calculation_int @calculation_int end |
#calculation_method ⇒ Object
Returns the value of attribute calculation_method.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def calculation_method @calculation_method end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def description @description end |
#external_identifier ⇒ Object
Returns the value of attribute external_identifier.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def external_identifier @external_identifier end |
#identifier ⇒ Object
Returns the value of attribute identifier.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def identifier @identifier end |
#is_global_outcome ⇒ Object
Returns the value of attribute is_global_outcome.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def is_global_outcome @is_global_outcome end |
#mastery_points ⇒ Object
Returns the value of attribute mastery_points.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def mastery_points @mastery_points end |
#points_possible ⇒ Object
Returns the value of attribute points_possible.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def points_possible @points_possible end |
#ratings ⇒ Object
Returns the value of attribute ratings.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def @ratings end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5 def title @title end |