Sha256: 66a5371ae6592b742fb932c928bc3bb4d88dd8d589cee423d774e6be313bb6eb

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

module Paid
  module APIOperations
    module Delete
      def delete(params = {}, opts={})
        api_key, headers = Util.parse_opts(opts)
        response, api_key = Paid.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
paid-0.0.3 lib/paid/api_operations/delete.rb
paid-0.0.2 lib/paid/api_operations/delete.rb
paid-0.0.1 lib/paid/api_operations/delete.rb