Class: Pandarus::Day

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/day.rb

Instance Attribute Summary collapse

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

#dateObject

Returns the value of attribute date.



6
7
8
# File 'lib/pandarus/models/day.rb', line 6

def date
  @date
end

#gradersObject

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_mapObject



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