Platform Lib Ruby
A simple gem to help us work with ThePlatform's Data Service API.
Installation
You'll need to clone the repo and cd into the directory. Then run these:
$ bundle install
$ rake install
Add this line to your application's Gemfile (if writing code):
gem 'platform_lib_ruby'
Updating
Navigate to the working directory, and run the following:
$ gem uninstall platform_lib
$ git pull
$ bundle install
$ rake install
Usage
The gem will add tp_lib to your PATH. This command executes scripts found in
the scripts directory.
Currently there is only one script. Here's how we use it:
$ tp_lib sync_guid_with_id <user> <pass>
Replace <user> and <pass> with your MPX username and password
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
