Skip to content

Conversation

@fonji
Copy link
Contributor

@fonji fonji commented Jul 6, 2018

Add support for enterprise events http api
https://developers.hubspot.com/docs/methods/enterprise_events/http_api

Also note that while running bundle exec rspec spec/, new calls have been recorded to the vcr cassette about Contact.create_or_update

Copy link
Collaborator

@cbisnett cbisnett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. If you can make the one change and rebase this branch on master, I'll get it merged and released. Thanks.

POST_EVENT_PATH = '/v1/event'

class << self
def complete(event_id, email, options = {})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think trigger would be a better word here (and in EventConnection) that more closely aligns with the documentation and intent of the API. The documentation refers to this endpoint as:

Trigger a custom HubSpot event using an HTTP GET call.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do!

@fonji
Copy link
Contributor Author

fonji commented Nov 7, 2019

Replaced by #208

@fonji fonji closed this Nov 7, 2019
@fonji fonji deleted the events branch November 7, 2019 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants