Sha256: 0fd585b9ca1e13a6a8ce15b68e57ff219d23b7c73e4b20701f57b6e1d6ed190b
Contents?: true
Size: 357 Bytes
Versions: 5
Compression:
Stored size: 357 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
5 entries across 5 versions & 1 rubygems