Sha256: 63d8add95dbff5a2613e5ad3157526d042622507b3ede1113f86ed754c532cf7
Contents?: true
Size: 375 Bytes
Versions: 11
Compression:
Stored size: 375 Bytes
Contents
class Spree::Api::ProductsController < Spree::Api::BaseController include Spree::Core::Search private def collection params[:per_page] ||= 100 @searcher = Spree::Config.searcher_class.new(params) @collection = @searcher.retrieve_products end def object_serialization_options { :include => [:master, :variants, :taxons] } end end
Version data entries
11 entries across 11 versions & 1 rubygems