Skip to content

Instantly share code, notes, and snippets.

@acadavid
Created September 10, 2012 16:22
Show Gist options
  • Save acadavid/3691886 to your computer and use it in GitHub Desktop.
Save acadavid/3691886 to your computer and use it in GitHub Desktop.
def process_subscription(card_token, plan_id)
customer = PaymentLibrary::Subscription.create(:card => card_token,
:plan => plan_id)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment