Exception: Reji::InvalidCustomerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/reji/errors.rb

Class Method Summary collapse

Class Method Details

.not_yet_created(owner) ⇒ Object



33
34
35
# File 'lib/reji/errors.rb', line 33

def self.not_yet_created(owner)
  new("#{owner.class.name} is not a Stripe customer yet. See the create_as_stripe_customer method.")
end