Class: HubSpotSDK::Resources::Events
- Inherits:
-
Object
- Object
- HubSpotSDK::Resources::Events
- Defined in:
- lib/hubspot_sdk/resources/events.rb,
lib/hubspot_sdk/resources/events/send.rb,
lib/hubspot_sdk/resources/events/definitions.rb,
lib/hubspot_sdk/resources/events/occurrences.rb
Defined Under Namespace
Classes: Definitions, Occurrences, Send
Instance Attribute Summary collapse
- #definitions ⇒ HubSpotSDK::Resources::Events::Definitions readonly
- #occurrences ⇒ HubSpotSDK::Resources::Events::Occurrences readonly
- #send_ ⇒ HubSpotSDK::Resources::Events::Send readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Events
constructor
private
A new instance of Events.
Constructor Details
#initialize(client:) ⇒ Events
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Events.
18 19 20 21 22 23 |
# File 'lib/hubspot_sdk/resources/events.rb', line 18 def initialize(client:) @client = client @definitions = HubSpotSDK::Resources::Events::Definitions.new(client: client) @occurrences = HubSpotSDK::Resources::Events::Occurrences.new(client: client) @send_ = HubSpotSDK::Resources::Events::Send.new(client: client) end |
Instance Attribute Details
#definitions ⇒ HubSpotSDK::Resources::Events::Definitions (readonly)
7 8 9 |
# File 'lib/hubspot_sdk/resources/events.rb', line 7 def definitions @definitions end |
#occurrences ⇒ HubSpotSDK::Resources::Events::Occurrences (readonly)
10 11 12 |
# File 'lib/hubspot_sdk/resources/events.rb', line 10 def occurrences @occurrences end |
#send_ ⇒ HubSpotSDK::Resources::Events::Send (readonly)
13 14 15 |
# File 'lib/hubspot_sdk/resources/events.rb', line 13 def send_ @send_ end |