Class: StripePayment::Customer
- Inherits:
-
Object
- Object
- StripePayment::Customer
- Defined in:
- lib/stripe_payment.rb
Class Method Summary collapse
Class Method Details
.create(email, token) ⇒ Object
31 32 33 34 35 36 |
# File 'lib/stripe_payment.rb', line 31 def self.create(email, token) Stripe::Customer.create( email: email, source: token ) end |