Class: Pandarus::AssignmentGroup
- Defined in:
- lib/pandarus/models/assignment_group.rb
Instance Attribute Summary collapse
-
#assignments ⇒ Object
Returns the value of attribute assignments.
-
#group_weight ⇒ Object
Returns the value of attribute group_weight.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#position ⇒ Object
Returns the value of attribute position.
-
#rules ⇒ Object
Returns the value of attribute rules.
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
#assignments ⇒ Object
Returns the value of attribute assignments.
6 7 8 |
# File 'lib/pandarus/models/assignment_group.rb', line 6 def assignments @assignments end |
#group_weight ⇒ Object
Returns the value of attribute group_weight.
6 7 8 |
# File 'lib/pandarus/models/assignment_group.rb', line 6 def group_weight @group_weight end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/pandarus/models/assignment_group.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/pandarus/models/assignment_group.rb', line 6 def name @name end |
#position ⇒ Object
Returns the value of attribute position.
6 7 8 |
# File 'lib/pandarus/models/assignment_group.rb', line 6 def position @position end |
#rules ⇒ Object
Returns the value of attribute rules.
6 7 8 |
# File 'lib/pandarus/models/assignment_group.rb', line 6 def rules @rules end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/pandarus/models/assignment_group.rb', line 9 def self.attribute_map { :id => {:external => "id", :container => false, :type => "Integer"}, :name => {:external => "name", :container => false, :type => "String"}, :position => {:external => "position", :container => false, :type => "Integer"}, :group_weight => {:external => "group_weight", :container => false, :type => "Integer"}, :assignments => {:external => "assignments", :container => true, :type => "Integer"}, :rules => {:external => "rules", :container => false, :type => "GradingRules"} } end |