Sha256: a548727d875b4dab2abac2217bd2e35dae128a66d42b80f8c7cae9d81783ea5e

Contents?: true

Size: 1008 Bytes

Versions: 12

Compression:

Stored size: 1008 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 A 34-character string that uniquely identifies this
      #   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

12 entries across 12 versions & 1 rubygems

Version Path
twilio-ruby-5.22.1 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.22.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.21.2 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.21.1 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.21.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.20.1 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.20.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.19.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.18.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.17.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.16.0 lib/twilio-ruby/rest/autopilot.rb
twilio-ruby-5.15.2 lib/twilio-ruby/rest/autopilot.rb