diff options
Diffstat (limited to 'app/services/solidus_subscriptions/user_mismatch_error.rb')
-rw-r--r-- | app/services/solidus_subscriptions/user_mismatch_error.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app/services/solidus_subscriptions/user_mismatch_error.rb b/app/services/solidus_subscriptions/user_mismatch_error.rb deleted file mode 100644 index 1d227ca..0000000 --- a/app/services/solidus_subscriptions/user_mismatch_error.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -module SolidusSubscriptions - class UserMismatchError < StandardError - def initialize(installments) - @installments = installments - end - - def to_s - <<-MSG.squish - Installments must have the same user to be processed as a consolidated - installment. Could not process installments: - #{@installments.map(&:id).join(', ')} - MSG - end - end -end |