A Ruby interface to the gap intelligence API.
gap intelligence provides the world's most powerful companies with tactical and up to the minute market intelligence.
gap intelligence’s core market intelligence services are widely regarded as the most timely, comprehensive, and easy-to-use tools for manufacturers to keep a close eye on the market
Add this line to your application's Gemfile:
gem 'gap_intelligence', git: '[email protected]:GapIntelligence/gapintelligence-gem.git'
And then execute:
$ bundle
Or install it yourself by:
$ git clone [email protected]:GapIntelligence/gapintelligence-gem.git
$ bundle
$ bundle exec rake install
You can configure default credentials via GapIntelligence.config
.
require 'gap_intelligence'
GapIntelligence.configure do |config|
config.client_id = 'YOUR CLIENT ID HERE'
config.client_secret = 'YOUR CLIENT SECRET HERE'
end
You may also pass configuration options directly to client constructor. These options take precedence over GapIntelligence.config
defaults.
GapIntelligence::Client.new(client_id: 'YOUR CLIENT ID HERE', client_secret: 'YOUR CLIENT SECRET HERE')
- Clone it ( [email protected]:GapIntelligence/gapintelligence-gem.git )
- 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 new Pull Request