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