The project is in a healthy, maintained state
Knows how to send a new contact information to Hubspot
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 14.0, < 17.0
>= 6.0
>= 5.0
 Project Readme

OmbuLabs::Hubspot

Source code for OmbuLabs Hubspot integration

Usage

Create a Hubspot client instance:

module Hubspot
  INSTANCE_MUTEX = Mutex.new
  def self.client
    return @client if defined?(@client) && @client
    INSTANCE_MUTEX.synchronize do
      @client ||= Hubspot::Client.new(access_token: ENV["HUBSPOT_ACCESS_TOKEN"], auth_names: "oauth2")
    end
  end
end

Then you can use the Hubspot.client to interact with the Hubspot API.

Installation

Add this line to your application's Gemfile:

gem 'ombu_labs-hubspot'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ombu_labs-hubspot

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.