How to run snap_example: Install dependencies: gem install veritrans Run the file: ruby snap_example.rb