Class: HubSpotSDK::Resources::CommunicationPreferences::Statuses

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/communication_preferences/statuses.rb,
lib/hubspot_sdk/resources/communication_preferences/statuses/batch.rb

Defined Under Namespace

Classes: Batch

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Statuses

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

Parameters:



13
14
15
16
# File 'lib/hubspot_sdk/resources/communication_preferences/statuses.rb', line 13

def initialize(client:)
  @client = client
  @batch = HubSpotSDK::Resources::CommunicationPreferences::Statuses::Batch.new(client: client)
end

Instance Attribute Details

#batchHubSpotSDK::Resources::CommunicationPreferences::Statuses::Batch (readonly)



8
9
10
# File 'lib/hubspot_sdk/resources/communication_preferences/statuses.rb', line 8

def batch
  @batch
end