Sha256: ea41dc34b55edfa7bc230938f02561fcf839c0c15b575685a484f468f802a356

Contents?: true

Size: 737 Bytes

Versions: 7

Compression:

Stored size: 737 Bytes

Contents

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

module Twilio
  module REST
    class Taskrouter
      class V1 < Version
        ##
        # Initialize the V1 version of Taskrouter
        def initialize(domain)
          super
          @version = 'v1'
          @workspaces = nil
        end
        
        def workspaces(sid=:unset)
          if sid == :unset
            @workspaces ||= WorkspaceList.new self
          else
            WorkspaceContext.new(self, sid)
          end
        end
        
        ##
        # Provide a user friendly representation
        def to_s
          #<Twilio::REST::Taskrouter::V1>
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/rest/taskrouter/v1.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/rest/taskrouter/v1.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/rest/taskrouter/v1.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/rest/taskrouter/v1.rb
twilio-ruby-5.0.0.rc4 lib/twilio-ruby/rest/taskrouter/v1.rb
twilio-ruby-5.0.0.rc3 lib/twilio-ruby/rest/taskrouter/v1.rb
twilio-ruby-5.0.0.rc2 lib/twilio-ruby/rest/taskrouter/v1.rb