HubSpot
Usage
- Add the gem to your Gemfile
gem 'hub_spot'
- Run the following setup code on initialization:
HubSpot::Configuration.client_id = ENV.fetch("HUBSPOT_CLIENT_ID")
HubSpot::Configuration.client_secret = ENV.fetch("HUBSPOT_CLIENT_SECRET")
HubSpot::Configuration.refresh_token = ENV.fetch("HUBSPOT_REFRESH_TOKEN")
HubSpot::Configuration.redirect_uri = ENV.fetch("HUBSPOT_REDIRECT_URI")
- Call the api...
Contributing
PRs are welcome!
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the HubSpot project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.