Module: Stripe::APIOperations::Delete
- Included in:
- Stripe::Account, Stripe::AlipayAccount, Stripe::ApplePayDomain, BankAccount, Card, Coupon, Customer, EphemeralKey, Invoice, InvoiceItem, Plan, Product, Radar::ValueList, Radar::ValueListItem, SubscriptionItem, TaxId, Terminal::Configuration, Terminal::Location, Terminal::Reader, TestHelpers::TestClock, WebhookEndpoint
- Defined in:
- lib/stripe/api_operations/delete.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
39 40 41 |
# File 'lib/stripe/api_operations/delete.rb', line 39 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#delete(params = {}, opts = {}) ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/stripe/api_operations/delete.rb', line 30 def delete(params = {}, opts = {}) request_stripe_object( method: :delete, path: resource_url, params: params, opts: opts ) end |