Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  lib
  spec
  .gitignore
  Gemfile
  LICENSE.txt
  README.md
  Rakefile
  inspection_support_network.gemspec
Size: Mime:
  README.md

InspectionSupportNetwork

A Ruby wrapper for the InspectionSupportNetwork REST API.

Installation

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

Usage

Configuration

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

Contributing

  1. Fork it
  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 new Pull Request

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