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