Class: TwilioBase::TaskRouter::Workflow

Inherits:
Object
  • Object
show all
Extended by:
Clients
Defined in:
app/services/twilio_base/task_router/workflow.rb

Constant Summary

Constants included from Clients

Clients::ACCOUNT_SID, Clients::AUTH_TOKEN

Class Method Summary collapse

Methods included from Clients

chat_client, config, rest_client, sms_client

Class Method Details

.create(workspace:, attributes:) ⇒ Object



10
11
12
13
14
# File 'app/services/twilio_base/task_router/workflow.rb', line 10

def create(workspace:, attributes:)
  workspace.workflows.create(
    attributes
  )
end