Class: Buckaruby::CancelRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/buckaruby/request.rb

Overview

Request for cancelling a transaction.

Instance Method Summary collapse

Methods inherited from Request

#execute, #initialize

Constructor Details

This class inherits a constructor from Buckaruby::Request

Instance Method Details

#build_request_params(options) ⇒ Object



256
257
258
# File 'lib/buckaruby/request.rb', line 256

def build_request_params(options)
  { brq_transaction: options[:transaction_id] }
end

#operationObject



252
253
254
# File 'lib/buckaruby/request.rb', line 252

def operation
  Operation::CANCEL_TRANSACTION
end