Class: SagePay::Server::Abort
- Defined in:
- lib/sage_pay/server/abort.rb
Instance Attribute Summary collapse
-
#security_key ⇒ Object
Returns the value of attribute security_key.
-
#tx_auth_no ⇒ Object
Returns the value of attribute tx_auth_no.
-
#vps_tx_id ⇒ Object
Returns the value of attribute vps_tx_id.
Attributes inherited from Command
#mode, #vendor, #vendor_tx_code
Instance Method Summary collapse
Methods inherited from Command
decimal_accessor, #initialize, #response_from_response_body, #run!, #url
Constructor Details
This class inherits a constructor from SagePay::Server::Command
Instance Attribute Details
#security_key ⇒ Object
Returns the value of attribute security_key.
6 7 8 |
# File 'lib/sage_pay/server/abort.rb', line 6 def security_key @security_key end |
#tx_auth_no ⇒ Object
Returns the value of attribute tx_auth_no.
6 7 8 |
# File 'lib/sage_pay/server/abort.rb', line 6 def tx_auth_no @tx_auth_no end |
#vps_tx_id ⇒ Object
Returns the value of attribute vps_tx_id.
6 7 8 |
# File 'lib/sage_pay/server/abort.rb', line 6 def vps_tx_id @vps_tx_id end |
Instance Method Details
#live_service ⇒ Object
20 21 22 |
# File 'lib/sage_pay/server/abort.rb', line 20 def live_service "abort" end |
#post_params ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/sage_pay/server/abort.rb', line 13 def post_params super.merge({ "VPSTxId" => vps_tx_id, "SecurityKey" => security_key, "TxAuthNo" => tx_auth_no, }) end |
#simulator_service ⇒ Object
24 25 26 |
# File 'lib/sage_pay/server/abort.rb', line 24 def simulator_service "VendorAbortTx" end |