Class: HubSpotSDK::Resources::WebhooksJournal

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/webhooks_journal.rb,
lib/hubspot_sdk/resources/webhooks_journal/journal.rb,
lib/hubspot_sdk/resources/webhooks_journal/snapshots.rb,
lib/hubspot_sdk/resources/webhooks_journal/journal/batch.rb,
lib/hubspot_sdk/resources/webhooks_journal/journal_local.rb,
lib/hubspot_sdk/resources/webhooks_journal/subscriptions.rb,
lib/hubspot_sdk/resources/webhooks_journal/journal_local/batch.rb,
lib/hubspot_sdk/resources/webhooks_journal/subscriptions/filters.rb

Defined Under Namespace

Classes: Journal, JournalLocal, Snapshots, Subscriptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ WebhooksJournal

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 WebhooksJournal.

Parameters:



21
22
23
24
25
26
27
# File 'lib/hubspot_sdk/resources/webhooks_journal.rb', line 21

def initialize(client:)
  @client = client
  @journal = HubSpotSDK::Resources::WebhooksJournal::Journal.new(client: client)
  @journal_local = HubSpotSDK::Resources::WebhooksJournal::JournalLocal.new(client: client)
  @snapshots = HubSpotSDK::Resources::WebhooksJournal::Snapshots.new(client: client)
  @subscriptions = HubSpotSDK::Resources::WebhooksJournal::Subscriptions.new(client: client)
end

Instance Attribute Details

#journalHubSpotSDK::Resources::WebhooksJournal::Journal (readonly)



7
8
9
# File 'lib/hubspot_sdk/resources/webhooks_journal.rb', line 7

def journal
  @journal
end

#journal_localHubSpotSDK::Resources::WebhooksJournal::JournalLocal (readonly)



10
11
12
# File 'lib/hubspot_sdk/resources/webhooks_journal.rb', line 10

def journal_local
  @journal_local
end

#snapshotsHubSpotSDK::Resources::WebhooksJournal::Snapshots (readonly)



13
14
15
# File 'lib/hubspot_sdk/resources/webhooks_journal.rb', line 13

def snapshots
  @snapshots
end

#subscriptionsHubSpotSDK::Resources::WebhooksJournal::Subscriptions (readonly)



16
17
18
# File 'lib/hubspot_sdk/resources/webhooks_journal.rb', line 16

def subscriptions
  @subscriptions
end