Class: HubSpotSDK::Resources::Automation::Actions

Inherits:
Object
  • Object
show all
Defined in:
lib/hubspot_sdk/resources/automation/actions.rb,
lib/hubspot_sdk/resources/automation/actions/callbacks.rb,
lib/hubspot_sdk/resources/automation/actions/functions.rb,
lib/hubspot_sdk/resources/automation/actions/revisions.rb,
lib/hubspot_sdk/resources/automation/actions/definitions.rb

Defined Under Namespace

Classes: Callbacks, Definitions, Functions, Revisions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Actions

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

Parameters:



22
23
24
25
26
27
28
# File 'lib/hubspot_sdk/resources/automation/actions.rb', line 22

def initialize(client:)
  @client = client
  @callbacks = HubSpotSDK::Resources::Automation::Actions::Callbacks.new(client: client)
  @definitions = HubSpotSDK::Resources::Automation::Actions::Definitions.new(client: client)
  @functions = HubSpotSDK::Resources::Automation::Actions::Functions.new(client: client)
  @revisions = HubSpotSDK::Resources::Automation::Actions::Revisions.new(client: client)
end

Instance Attribute Details

#callbacksHubSpotSDK::Resources::Automation::Actions::Callbacks (readonly)



8
9
10
# File 'lib/hubspot_sdk/resources/automation/actions.rb', line 8

def callbacks
  @callbacks
end

#definitionsHubSpotSDK::Resources::Automation::Actions::Definitions (readonly)



11
12
13
# File 'lib/hubspot_sdk/resources/automation/actions.rb', line 11

def definitions
  @definitions
end

#functionsHubSpotSDK::Resources::Automation::Actions::Functions (readonly)



14
15
16
# File 'lib/hubspot_sdk/resources/automation/actions.rb', line 14

def functions
  @functions
end

#revisionsHubSpotSDK::Resources::Automation::Actions::Revisions (readonly)



17
18
19
# File 'lib/hubspot_sdk/resources/automation/actions.rb', line 17

def revisions
  @revisions
end