Class: Twilio::REST::Autopilot

Inherits:
AutopilotBase show all
Defined in:
lib/twilio-ruby/rest/autopilot.rb,
lib/twilio-ruby/rest/autopilot/v1.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/task.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/webhook.rb,
lib/twilio-ruby/rest/autopilot/v1/restore_assistant.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/defaults.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/dialogue.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/field_type.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/model_build.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/style_sheet.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_actions.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/task/task_statistics.rb,
lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from AutopilotBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::AutopilotBase

Instance Method Details

#assistants(sid = :unset) ⇒ Twilio::REST::Autopilot::V1::AssistantInstance, Twilio::REST::Autopilot::V1::AssistantList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Assistant resource.

Returns:



9
10
11
12
# File 'lib/twilio-ruby/rest/autopilot.rb', line 9

def assistants(sid=:unset)
  warn "assistants is deprecated. Use v1.assistants instead."
  self.v1.assistants(sid)
end

#restore_assistantTwilio::REST::Autopilot::V1::RestoreAssistantInstance



16
17
18
19
# File 'lib/twilio-ruby/rest/autopilot.rb', line 16

def restore_assistant
  warn "restore_assistant is deprecated. Use v1.restore_assistant instead."
  self.v1.restore_assistant()
end