Sha256: 7853046afd9057c4dd74c9dd7ae0ce3b20853a895f1a639a7a9f944c79bd4905

Contents?: true

Size: 197 Bytes

Versions: 3

Compression:

Stored size: 197 Bytes

Contents

# frozen_string_literal: true

module Spree
  module NullPromotionFinder
    def self.by_code_or_id(*)
      raise ActiveRecord::RecordNotFound, "No promotion system configured."
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_core-4.4.2 app/models/spree/null_promotion_finder.rb
solidus_core-4.4.1 app/models/spree/null_promotion_finder.rb
solidus_core-4.4.0 app/models/spree/null_promotion_finder.rb