Class: HubSpotSDK::Resources::Marketing::Transactional

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/marketing/transactional.rb,
lib/hubspot_sdk/resources/marketing/transactional/smtp_tokens.rb,
lib/hubspot_sdk/resources/marketing/transactional/single_email.rb

Defined Under Namespace

Classes: SingleEmail, SmtpTokens

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Transactional

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

Parameters:



16
17
18
19
20
# File 'lib/hubspot_sdk/resources/marketing/transactional.rb', line 16

def initialize(client:)
  @client = client
  @single_email = HubSpotSDK::Resources::Marketing::Transactional::SingleEmail.new(client: client)
  @smtp_tokens = HubSpotSDK::Resources::Marketing::Transactional::SmtpTokens.new(client: client)
end

Instance Attribute Details

#single_emailHubSpotSDK::Resources::Marketing::Transactional::SingleEmail (readonly)



8
9
10
# File 'lib/hubspot_sdk/resources/marketing/transactional.rb', line 8

def single_email
  @single_email
end

#smtp_tokensHubSpotSDK::Resources::Marketing::Transactional::SmtpTokens (readonly)



11
12
13
# File 'lib/hubspot_sdk/resources/marketing/transactional.rb', line 11

def smtp_tokens
  @smtp_tokens
end