Sha256: c2875b0e5658de12036640332a1246cc03a556d931746cd6a489f02f847112ad

Contents?: true

Size: 355 Bytes

Versions: 7

Compression:

Stored size: 355 Bytes

Contents

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

          has_many :menus
          has_one :default_country, serializer: :country, record_type: :country, id_method_name: :default_country_id
        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/store_serializer.rb
spree_api-4.3.2 app/serializers/spree/api/v2/platform/store_serializer.rb
spree_api-4.3.1 app/serializers/spree/api/v2/platform/store_serializer.rb
spree_api-4.3.0 app/serializers/spree/api/v2/platform/store_serializer.rb
spree_api-4.3.0.rc3 app/serializers/spree/api/v2/platform/store_serializer.rb
spree_api-4.3.0.rc2 app/serializers/spree/api/v2/platform/store_serializer.rb
spree_api-4.3.0.rc1 app/serializers/spree/api/v2/platform/store_serializer.rb