Skip to content

Add support for event http api#119

Closed
fonji wants to merge 2 commits into
HubspotCommunity:masterfrom
fonji:events
Closed

Add support for event http api#119
fonji wants to merge 2 commits into
HubspotCommunity:masterfrom
fonji:events

Conversation

@fonji

@fonji fonji commented Jul 6, 2018

Copy link
Copy Markdown
Contributor

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

@cbisnett cbisnett left a comment

Copy link
Copy Markdown
Collaborator

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.

Comment thread lib/hubspot/event.rb
POST_EVENT_PATH = '/v1/event'

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

Copy link
Copy Markdown
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
Copy Markdown
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

fonji commented Nov 7, 2019

Copy link
Copy Markdown
Contributor Author

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