Method: ProcessOut::Payout#delete
- Defined in:
- lib/processout/payout.rb
#delete(payout_id, options = {}) ⇒ Object
Delete the payout along with its payout items Params:
payout_id
-
ID of the payout
options
-
Hash
of options
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'lib/processout/payout.rb', line 381 def delete(payout_id, = {}) self.prefill() request = Request.new(@client) path = "/payouts/" + CGI.escape(payout_id) + "" data = { } response = Response.new(request.delete(path, data, )) return_values = Array.new return_values.push(response.success) return_values[0] end |