Sha256: 376356ff55c9724a1532429d51b44c5114f379b0ca0397b05ab8bd3ccd70c8e5

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 Bytes

Contents

module Spree
  module Api
    module V2
      module Platform
        class StockLocationSerializer < BaseSerializer
          include ::Spree::Api::V2::ResourceSerializerConcern

          attributes :name

          has_many :shipments
          has_many :stock_items
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_api-4.3.3 app/serializers/spree/api/v2/platform/stock_location_serializer.rb
spree_api-4.3.2 app/serializers/spree/api/v2/platform/stock_location_serializer.rb
spree_api-4.3.1 app/serializers/spree/api/v2/platform/stock_location_serializer.rb
spree_api-4.3.0 app/serializers/spree/api/v2/platform/stock_location_serializer.rb
spree_api-4.3.0.rc3 app/serializers/spree/api/v2/platform/stock_location_serializer.rb
spree_api-4.3.0.rc2 app/serializers/spree/api/v2/platform/stock_location_serializer.rb
spree_api-4.3.0.rc1 app/serializers/spree/api/v2/platform/stock_location_serializer.rb