Sha256: a99a808e42792c9b966387f423fd06868f30cb7d81ffb04f344f3d83261ae634

Contents?: true

Size: 1015 Bytes

Versions: 25

Compression:

Stored size: 1015 Bytes

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /
#
# frozen_string_literal: true

module Twilio
  module REST
    class Autopilot < Domain
      ##
      # Initialize the Autopilot Domain
      def initialize(twilio)
        super

        @base_url = 'https://autopilot.twilio.com'
        @host = 'autopilot.twilio.com'
        @port = 443

        # Versions
        @v1 = nil
      end

      ##
      # Version v1 of autopilot
      def v1
        @v1 ||= V1.new self
      end

      ##
      # @param [String] sid The unique string that we created to identify the Assistant
      #   resource.
      # @return [Twilio::REST::Autopilot::V1::AssistantInstance] if sid was passed.
      # @return [Twilio::REST::Autopilot::V1::AssistantList]
      def assistants(sid=:unset)
        self.v1.assistants(sid)
      end

      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Autopilot>'
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
twilio-ruby-5.34.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.33.1 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.33.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.32.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.31.6 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.31.5 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.31.4 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.31.3 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.31.2 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.31.1 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.31.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.30.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.29.1 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.29.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.28.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.27.1 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.27.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.26.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.25.4 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.25.3 lib/twilio-ruby/rest/autopilot.rb