This is the client app, Please run "ruby payment_client.rb" to see the output, please change inputs in PaymentClient class file to try more inputs.
https://github.com/mhmenon910/gateway_server_app please start the server app in localhost:3000
Pre-requisite:
Ruby 2.2 installed, Rspec installed.
Running specs: rspec