Author:
Gemgento LLC
6 7 8 9 10 11
# File 'app/models/gemgento/search.rb', line 6 def self.products(term) magento_ids = API::SOAP::Catalog::Search.results(term) products = Product.where(magento_id: magento_ids) return products end