API client for the GovWizely/ITA industry_mapping service.
Add this line to your application's Gemfile:
gem 'industry_mapping_client', git: 'git@github.com:GovWizely/industry_mapping_client.git'
And then execute:
$ bundle
IndustryMappingClient.map_industry('Agribusiness', 'MarketResearch')
# returns ["Agribusiness", "Chemicals"]
You can configure how the gem behaves like so:
IndustryMappingClient.configure(log_failed: false,
base_url: 'http://localhost:3001/api/terms.json')
- Fork it ( https://github.com/[my-github-username]/industry_mapping_client/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