Class: Bluepay::Capture

Inherits:
TransactionBase show all
Defined in:
lib/bluepay/capture.rb

Constant Summary

Constants included from BP10EMU

BP10EMU::PATH

Constants included from Parameters

Parameters::BOOLEAN_CONVERTER, Parameters::DEFAULT_CONVERTER

Instance Attribute Summary

Attributes inherited from TransactionBase

#source

Attributes inherited from Base

#request, #response

Instance Method Summary collapse

Methods inherited from TransactionBase

create!, #create!, #request_params, #to_h

Methods included from BP10EMU

#data

Methods included from Interface

#data, #path

Methods included from Parameters

#bluepay_params, #converted_params, included, #params

Methods included from TamperProofSeal

#hash, #tps

Constructor Details

#initialize(*args) ⇒ Capture

Returns a new instance of Capture.



4
5
6
7
# File 'lib/bluepay/capture.rb', line 4

def initialize(*args)
  super(*args)
  self.params[:transaction_type] = 'CAPTURE'
end