Module: Stripe::APIOperations::Delete

Included in:
Coupon, Customer, InvoiceItem, Plan
Defined in:
lib/stripe/api_operations/delete.rb

Instance Method Summary collapse

Instance Method Details

#deleteObject



4
5
6
7
8
# File 'lib/stripe/api_operations/delete.rb', line 4

def delete
  response, api_key = Stripe.request(:delete, url, @api_key)
  refresh_from(response, api_key)
  self
end