module SellObject::DefaultMappings

Public Class Methods

buscape() click to toggle source
# 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_uol() click to toggle source
# 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