Module: Stripe::APIOperations::Delete

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