Class: HubSpotSDK::Resources::Conversations

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/conversations.rb,
lib/hubspot_sdk/resources/conversations/custom_channels.rb,
lib/hubspot_sdk/resources/conversations/visitor_identification.rb,
lib/hubspot_sdk/resources/conversations/custom_channels/messages.rb,
lib/hubspot_sdk/resources/conversations/custom_channels/channel_accounts.rb

Defined Under Namespace

Classes: CustomChannels, VisitorIdentification

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Conversations

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

Parameters:



15
16
17
18
19
# File 'lib/hubspot_sdk/resources/conversations.rb', line 15

def initialize(client:)
  @client = client
  @custom_channels = HubSpotSDK::Resources::Conversations::CustomChannels.new(client: client)
  @visitor_identification = HubSpotSDK::Resources::Conversations::VisitorIdentification.new(client: client)
end

Instance Attribute Details

#custom_channelsHubSpotSDK::Resources::Conversations::CustomChannels (readonly)



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

def custom_channels
  @custom_channels
end

#visitor_identificationHubSpotSDK::Resources::Conversations::VisitorIdentification (readonly)



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

def visitor_identification
  @visitor_identification
end