Create a gist now

Instantly share code, notes, and snippets.

Ruby SDK - Litle Void transaction
require 'LitleOnline'
include LitleOnline
#Void
void_info = {
#litleTxnId contains the Litle Transaction Id returned on the deposit/refund
'litleTxnId' => '100000000000000001',
}
response = LitleOnlineRequest.new.void(void_info)
#display results
puts "Response: " + response.voidResponse.response
puts "Message: " + response.voidResponse.message
puts "Litle Transaction ID: " + response.voidResponse.litleTxnId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment