Class: HubSpotSDK::Resources::Automation
- Inherits:
-
Object
- Object
- HubSpotSDK::Resources::Automation
- Defined in:
- lib/hubspot_sdk/resources/automation.rb,
lib/hubspot_sdk/resources/automation/actions.rb,
lib/hubspot_sdk/resources/automation/sequences.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
Instance Attribute Summary collapse
- #actions ⇒ HubSpotSDK::Resources::Automation::Actions readonly
- #sequences ⇒ HubSpotSDK::Resources::Automation::Sequences readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Automation
constructor
private
A new instance of Automation.
Constructor Details
#initialize(client:) ⇒ Automation
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 Automation.
15 16 17 18 19 |
# File 'lib/hubspot_sdk/resources/automation.rb', line 15 def initialize(client:) @client = client @actions = HubSpotSDK::Resources::Automation::Actions.new(client: client) @sequences = HubSpotSDK::Resources::Automation::Sequences.new(client: client) end |
Instance Attribute Details
#actions ⇒ HubSpotSDK::Resources::Automation::Actions (readonly)
7 8 9 |
# File 'lib/hubspot_sdk/resources/automation.rb', line 7 def actions @actions end |
#sequences ⇒ HubSpotSDK::Resources::Automation::Sequences (readonly)
10 11 12 |
# File 'lib/hubspot_sdk/resources/automation.rb', line 10 def sequences @sequences end |