Sha256: 1306ddff6dd26256832a247d4353bfb4a094a8fff4b12973cc2389d706a9994f

Contents?: true

Size: 751 Bytes

Versions: 16

Compression:

Stored size: 751 Bytes

Contents

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

module Twilio
  module REST
    class Taskrouter < Domain
      ##
      # Initialize the Taskrouter Domain
      def initialize(twilio)
        super
        
        @base_url = 'https://taskrouter.twilio.com'
        @host = 'taskrouter.twilio.com'
        @port = 443
        
        # Versions
        @v1 = nil
      end
      
      ##
      # Version v1 of taskrouter
      def v1
        @v1 ||= V1.new self
      end
      
      def workspaces
        self.v1.workspaces
      end
      
      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Taskrouter>'
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc18 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc17 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc16 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc15 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc14 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc13 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc12 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc11 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc10 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc4 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc3 lib/twilio-ruby/rest/taskrouter.rb
twilio-ruby-5.0.0.rc2 lib/twilio-ruby/rest/taskrouter.rb