Class: Pandarus::Favorite

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/favorite.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

#context_idObject

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_typeObject

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_mapObject



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