Sha256: f8792073a774ab9e3fc302322bdc4e5a15987f6228e065fc62574989ed0b5638
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
[](https://travis-ci.org/westernmilling/gman_client) [](https://coveralls.io/r/westernmilling/gman_client) # GmanClient Gem hooks into the Grossman API. ## Installation Add this line to your application's Gemfile: ```ruby gem 'gman_client', git: 'git@github.com:westernmilling/gman_client.git' ``` And then execute: $ bundle ## Usage How to use: ```ruby client = Gman::Client.new( url: "gman services url", client_id: "client id", client_secret: "client secret" ) ``` ```ruby client.drivers client.driver_commission_histories client.driver_commission_histories_by_paid_date(DATE.new()) ``` ## Running the tests ```bash export GMAN_SERVICES_URL=<Gman Services URL> export GMAN_SERVICES_CLIENT_ID=<Client ID> export GMAN_SERVICES_CLIENT_SECRET=<Client Secret> ``` ## Contributing 1. Fork it ( https://github.com/westernmilling/gman_client/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gman_client-0.0.7 | README.md |