Class: HubSpotSDK::Resources::CommunicationPreferences::Statuses
- Inherits:
-
Object
- Object
- HubSpotSDK::Resources::CommunicationPreferences::Statuses
- 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
-
#initialize(client:) ⇒ Statuses
constructor
private
A new instance of Statuses.
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.
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
#batch ⇒ HubSpotSDK::Resources::CommunicationPreferences::Statuses::Batch (readonly)
8 9 10 |
# File 'lib/hubspot_sdk/resources/communication_preferences/statuses.rb', line 8 def batch @batch end |