class Reji::InvalidPaymentMethodError

Public Class Methods

invalid_owner(payment_method, owner) click to toggle source
# File lib/reji/errors.rb, line 39
def self.invalid_owner(payment_method, owner)
  new("The payment method `#{payment_method.id}` does not belong to this customer `#{owner.stripe_id}`.")
end