Skip to content

Instantly share code, notes, and snippets.

@jeanpaulsio
Created April 18, 2017 22:44
Show Gist options
  • Save jeanpaulsio/0d02ab8298f25e2c44f58ff8e5cf7cc6 to your computer and use it in GitHub Desktop.
Save jeanpaulsio/0d02ab8298f25e2c44f58ff8e5cf7cc6 to your computer and use it in GitHub Desktop.
class StripeWrapper
def retrieve_customer(user)
Stripe::Customer.retrieve(user.stripe_id)
end
# more Stripe API calls
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment