Skip to content

SmolarkiewiczCom/ship_compliant-ruby

Repository files navigation

ShipCompliant - Ruby API Client

The ShipCompliant gem is an API Client for the SOAP API provided by ShipCompliant. This gem has been created for fast implementation and supports the 9 main API calls.

Documentation | RDoc | CoreService V1.2

Coverage Status Build Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'ship_compliant'

And then execute:

$ bundle install

Add this to config/initializers/ship_compliant.rb

ShipCompliant.configure do |c|
  c.partner_key = ENV.fetch('SHIP_COMPLIANT_KEY')
  c.username = ENV.fetch('SHIP_COMPLIANT_USER')
  c.password = ENV.fetch('SHIP_COMPLIANT_PASS')
end

Usage

TODO: Coming soon...

Contributing

  1. Fork it ( http://github.com/ShipCompliant/ship_compliant-ruby/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 new Pull Request