Sha256: 1ea9e6e0bfeace4e80f8ce14fe90e20dfe99ff4a2fc236e80bb7a4b8f24e5e00

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 Bytes

Contents

module Stripe
  module APIOperations
    module Delete
      def delete(params = {}, opts={})
        api_key, headers = Util.parse_opts(opts)
        response, api_key = Stripe.request(:delete, url, api_key || @api_key, params, headers)
        refresh_from(response, api_key)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stripe-1.18.0 lib/stripe/api_operations/delete.rb
stripe-1.17.3 lib/stripe/api_operations/delete.rb
stripe-1.17.2 lib/stripe/api_operations/delete.rb