Sha256: 52be682a225f8b83a946cd578f41fdaa899ce94a4c0257ac347088d644aaa125
Contents?: true
Size: 456 Bytes
Versions: 11
Compression:
Stored size: 456 Bytes
Contents
class Spree::Api::LineItemsController < Spree::Api::BaseController private def parent if params[:order_id] @parent ||= Spree::Order.find_by_param(params[:order_id]) end end def parent_data params[:order_id] end def collection_serialization_options { :include => [:variant], :methods => [:description] } end def object_serialization_options collection_serialization_options end end
Version data entries
11 entries across 11 versions & 1 rubygems