Class: Trycourier::Resources::Automations

Inherits:
Object
  • Object
show all
Defined in:
lib/trycourier/resources/automations.rb,
lib/trycourier/resources/automations/invoke.rb

Defined Under Namespace

Classes: Invoke

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Automations

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

Parameters:



12
13
14
15
# File 'lib/trycourier/resources/automations.rb', line 12

def initialize(client:)
  @client = client
  @invoke = Trycourier::Resources::Automations::Invoke.new(client: client)
end

Instance Attribute Details

#invokeTrycourier::Resources::Automations::Invoke (readonly)



7
8
9
# File 'lib/trycourier/resources/automations.rb', line 7

def invoke
  @invoke
end