xTuple ERP Ruby REST API Client Example
xTuple ERP Ruby REST API Client Example using the Google APIs Client Library for Ruby.
- Ruby 2.0.0+
Since the request to get an access token will be made over SSL, you will need to make sure that your environment has SSL setup properly.
This client uses OAuth 2.0 with service accounts.
Running the Example
$ bundle install $ bundle exec ruby restclient.rb
This example prints a basic list of xTuple Contacts to the console.
Copyright (c) 2012-2013 xTuple http://www.xtuple.com/