Class: Pandarus::Day
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#graders ⇒ Object
Returns the value of attribute graders.
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
#date ⇒ Object
Returns the value of attribute date.
6 7 8 |
# File 'lib/pandarus/models/day.rb', line 6 def date @date end |
#graders ⇒ Object
Returns the value of attribute graders.
6 7 8 |
# File 'lib/pandarus/models/day.rb', line 6 def graders @graders end |
Class Method Details
.attribute_map ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/pandarus/models/day.rb', line 9 def self.attribute_map { :date => {:external => "date", :container => false, :type => "DateTime"}, :graders => {:external => "graders", :container => false, :type => "Integer"} } end |