Method: Pay::Stripe::Billable#invoice!

Defined in:
lib/pay/stripe/billable.rb

#invoice!(options = {}) ⇒ Object



171
172
173
174
# File 'lib/pay/stripe/billable.rb', line 171

def invoice!(options = {})
  return unless processor_id?
  ::Stripe::Invoice.create(options.merge(customer: processor_id), stripe_options).pay
end