app/serializers/spree/v2/storefront/variant_serializer.rb in spree_api-4.3.3 vs app/serializers/spree/v2/storefront/variant_serializer.rb in spree_api-4.4.0.rc1

- old
+ new

@@ -4,10 +4,10 @@ class VariantSerializer < BaseSerializer include ::Spree::Api::V2::DisplayMoneyHelper set_type :variant - attributes :sku, :weight, :height, :width, :depth, :is_master, :options_text + attributes :sku, :weight, :height, :width, :depth, :is_master, :options_text, :public_metadata attribute :purchasable do |variant| variant.purchasable? end