Exception: Reji::InvalidInvoiceError
- Inherits:
-
StandardError
- Object
- StandardError
- Reji::InvalidInvoiceError
- Defined in:
- lib/reji/errors.rb
Class Method Summary collapse
Class Method Details
.invalid_owner(invoice, owner) ⇒ Object
45 46 47 |
# 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 |