Class: Jackpot::Subscription

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/jackpot/subscription.rb

Instance Method Summary collapse

Instance Method Details

#charge(customer_to_be_charged) ⇒ Object



9
10
11
# File 'app/models/jackpot/subscription.rb', line 9

def charge(customer_to_be_charged)
  payments.create(:customer => customer_to_be_charged)
end