Class: CanvasCc::CanvasCC::Models::Outcome

Inherits:
Object
  • Object
show all
Defined in:
lib/canvas_cc/canvas_cc/models/outcome.rb

Constant Summary collapse

DEFAULT_CALCULATION_INT =
65

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOutcome

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

#alignmentsObject

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_intObject

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_methodObject

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

#descriptionObject

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_identifierObject

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

#identifierObject

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_outcomeObject

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_pointsObject

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_possibleObject

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

#ratingsObject

Returns the value of attribute ratings.



5
6
7
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5

def ratings
  @ratings
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/canvas_cc/canvas_cc/models/outcome.rb', line 5

def title
  @title
end