Sha256: 00ce9e43c01c46819e003c1985eb2c2a0946c3a19d3aa001a3776693925ecfd7

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

module SolidusPaypalCommercePlatform
  class PricingOptions < Spree::Variant::PricingOptions
    def cache_key
      SolidusPaypalCommercePlatform::PaymentMethod.active.map(&:cache_key_with_version).sort + [super]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-0.2.0 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.1.0 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.0.1 app/models/solidus_paypal_commerce_platform/pricing_options.rb