Class: Pandarus::CompletionRequirement
- Defined in:
- lib/pandarus/models/completion_requirement.rb
Instance Attribute Summary collapse
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#min_score ⇒ Object
Returns the value of attribute min_score.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Methods inherited from ModelBase
#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify
Constructor Details
This class inherits a constructor from Pandarus::ModelBase
Instance Attribute Details
#completed ⇒ Object
Returns the value of attribute completed.
6 7 8 |
# File 'lib/pandarus/models/completion_requirement.rb', line 6 def completed @completed end |
#min_score ⇒ Object
Returns the value of attribute min_score.
6 7 8 |
# File 'lib/pandarus/models/completion_requirement.rb', line 6 def min_score @min_score end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/pandarus/models/completion_requirement.rb', line 6 def type @type end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/pandarus/models/completion_requirement.rb', line 9 def self.attribute_map { :type => {:external => "type", :container => false, :type => "String"}, :min_score => {:external => "min_score", :container => false, :type => "Integer"}, :completed => {:external => "completed", :container => false, :type => nil} } end |