blob: c3bf513c5914a8811eae5b9c913d1711238d2705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
|