Repository URL to install this package:
Version:
0.1.0 ▾
|
lib |
spec |
.gitignore |
Gemfile |
LICENSE.txt |
README.md |
Rakefile |
inspection_support_network.gemspec |
A Ruby wrapper for the InspectionSupportNetwork REST API.
Add this line to your application's Gemfile:
gem 'inspection_support_network'
And then execute:
$ bundle
Or install it yourself as:
$ gem install inspection_support_network
Before you can make calls to InspectionSupportNetwork you must configure the library with valid login credentials. You can request they be generated by InspectionSupportNetwork.
There are two ways to configure the gem. You can pass a hash of configuration options when you create a client, or you can use a configure block.
client = InspectionSupportNetwork.client( username: 'bsmith', password: 'password', test_mode: true )
InspectionSupportNetwork.configure do |config| config.username = 'bsmith' config.password = 'password' config.test_mode = true end client = InspectionSupportNetwork.client
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)InspectionSupportNetwork.configure do |config| config.username = '0c6dbf44-b8cc-4e7d-940d-85f7efdb7d3b' config.password = '5d5e68c8-201a-4423-8564-853575fdca70' config.company_name = 'bulldoginspect' config.test_mode = false end
client = InspectionSupportNetwork.client( username: '9d306477-5064-458b-9336-50458c73a97c', password: '06b2875b-516e-5e11-86fa-899dd398150c', company_name: 'csimold', test_mode: false )
client.clients.all