Sha256: 30212d053187887987e58805a3eca8dd9d128940b6421a6320d5f209356aa71b
Contents?: true
Size: 443 Bytes
Versions: 20
Compression:
Stored size: 443 Bytes
Contents
class Api::LineItemsController < Api::BaseController private def parent if params[:order_id] @parent ||= 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
20 entries across 20 versions & 2 rubygems