Module: SellObject::DefaultMappings

Defined in:
lib/sell_object/default_mappings.rb

Class Method Summary collapse

Class Method Details

.buscapeObject



14
15
16
17
18
19
20
21
22
23
# File 'lib/sell_object/default_mappings.rb', line 14

def self.buscape
	{
		:id_oferta => :id, 
		:descricao => :description, 
		:preco => :price,
		:link_prod => :url,
		:imagem => :image_url,
		:categoria => :category
	}
end

.shopping_uolObject



3
4
5
6
7
8
9
10
11
12
# File 'lib/sell_object/default_mappings.rb', line 3

def self.shopping_uol
	{
		:CODIGO => :id, 
		:DESCRICAO => :description, 
		:PRECO => :price,
		:URL => :url,
		:URL_IMAGEM => :image_url,
		:DEPARTAMENTO => :category
	}
end