Class: Hubspot::EventConnection
- Inherits:
-
Connection
- Object
- Connection
- Hubspot::EventConnection
- Defined in:
- lib/hubspot/connection.rb
Class Method Summary collapse
Methods inherited from Connection
delete_json, get_json, post_json, put_json
Class Method Details
.trigger(path, opts) ⇒ Object
145 146 147 148 |
# File 'lib/hubspot/connection.rb', line 145 def self.trigger(path, opts) url = generate_url(path, opts[:params], { base_url: 'https://track.hubspot.com', hapikey: false }) get(url, body: opts[:body], headers: opts[:headers]) end |