class Reji::InvalidInvoiceError

Public Class Methods

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