WHMCS API module for Ruby originally taken from whmcs-ruby gem