Exception: Reji::CustomerAlreadyCreatedError
- Inherits:
-
StandardError
- Object
- StandardError
- Reji::CustomerAlreadyCreatedError
- Defined in:
- lib/reji/errors.rb
Class Method Summary collapse
Class Method Details
.exists(owner) ⇒ Object
27 28 29 |
# File 'lib/reji/errors.rb', line 27 def self.exists(owner) new("#{owner.class.name} is already a Stripe customer with ID #{owner.stripe_id}.") end |