Sha256: 2d42bb2211750b4511f329c6e35f1b2faf9f8e210a0ad10ec6017864e79f50c9

Contents?: true

Size: 265 Bytes

Versions: 12

Compression:

Stored size: 265 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

12 entries across 12 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-0.7.1 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.7.0 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-1.0.0.beta2 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-1.0.0.beta1 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.6.0 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.5.0 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.4.0 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.3.2 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.3.1 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.3.0 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.2.2 app/models/solidus_paypal_commerce_platform/pricing_options.rb
solidus_paypal_commerce_platform-0.2.1 app/models/solidus_paypal_commerce_platform/pricing_options.rb