Repository URL to install this package:
Version:
0.3.7 ▾
|
lib |
spec |
.gitignore |
.rspec |
Gemfile |
LICENSE.txt |
README.md |
Rakefile |
service_monster.gemspec |
A Ruby wrapper for the Service Monster REST API.
Add this line to your application's Gemfile:
gem 'service_monster'
And then execute:
$ bundle
Or install it yourself as:
$ gem install service_monster
Before you can make calls to ServiceMonster you must configure the library with a valid API Token. You can request a token be generated by ServiceMonster. The API Token ties the API request to a particualr ServiceMonster company id.
There are two ways to configure the ServiceMonster gem. You can pass a hash of configuration options when you create a client, or you can use a configure block.
client = ServiceMonster.client({api_key: "YOUR_KEY_HERE"})
ServiceMonster.configure do |config| config.api_key = "YOUR_KEY_HERE" end client = ServiceMonster.client
ServiceMonster supports several parameters that can be passed to their API to change the results you receive.
If you wish to filter a resource for a particular value in a field or set of dates use the following three parameters.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)