app/services/pro_membership_manager.rb
# Charge the user's card the given amount in cents.
Charge the user's card the given amount in cents.
Charge the user ' s card the given amount in cents .
def charge_user!(token, amount)
    Stripe::Charge.create(
      customer: stripe_customer(token).id,
      amount: amount,
      description: "Hummingbird PRO",
      currency: 'usd'
    )
  end
def charge_user! ( token , amount ) Stripe :: Charge . create ( customer : stripe_customer ( token ) . id , amount : amount , description : "Hummingbird PRO" , currency : 'usd' ) end
Charge the user's card the given amount in cents.
Charge the user ' s card the given amount in cents .
token
<not_specific>
amount
<not_specific>