Sha256: c8c551d334e672f22d5a75741f5f6168f4a3a7517ecb41324b69b460cae50df0
Contents?: true
Size: 361 Bytes
Versions: 18
Compression:
Stored size: 361 Bytes
Contents
class Api::LineItemsController < Api::BaseController resource_controller_for_api actions :index, :show, :update, :create belongs_to :order private def collection_serialization_options { :include => [:variant], :methods => [:description] } end def object_serialization_options collection_serialization_options end end
Version data entries
18 entries across 18 versions & 2 rubygems