Sha256: b2347d417486b7f516c247454cc7de30c23cb4f7c6391bdfd14bf4dbc7c329a9

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_subscriptions-alpha-0.0.4 app/models/solidus_subscriptions/user_mismatch_error.rb