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