A Ruby Soap ServiceNow interface.
Add this line to your application's Gemfile:
gem 'rs_service_now'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rs_service_now
sn = RsServiceNow::Company.new user, password, instance
Get every field from matching records. This is a quick way to retrieve any number of records, 250 at a time.
Using an encodedQuery. This can be easily retrieved by conducting a search in Service-Now, right clicking the very end of the search string and selecting "Copy query"
sn.request "active=true"
Retrieve a data export from Service-Now. Should be more efficient than Retrieve as by default it can export 10000 records at a time, instead of 250. This is experimental at the moment that has not been thoroughly tested.
sn.export "active=true"
- Fork it ( https://github.com/nemski/rs_service_now/fork )
- 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 a new Pull Request