Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for event http api #119

Closed
wants to merge 2 commits into from
Closed

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