This have examples for work with all AdvCash API functions.
You can try examples by running next commands from script's directory:
user@comp:~/adv_cash_api_wrapper/examples> bundle install
user@comp:~/adv_cash_api_wrapper/examples> ruby -r rubygems history_sample.rb