Sha256: 667ef008d816dca51fa6b9f29dbd62d39ae48f8c4de13d95ff707a44c0e06ac5

Contents?: true

Size: 731 Bytes

Versions: 16

Compression:

Stored size: 731 Bytes

Contents

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

module Twilio
  module REST
    class Trunking < Domain
      ##
      # Initialize the Trunking Domain
      def initialize(twilio)
        super
        
        @base_url = 'https://trunking.twilio.com'
        @host = 'trunking.twilio.com'
        @port = 443
        
        # Versions
        @v1 = nil
      end
      
      ##
      # Version v1 of trunking
      def v1
        @v1 ||= V1.new self
      end
      
      def trunks
        self.v1.trunks
      end
      
      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Trunking>'
      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/trunking.rb
twilio-ruby-5.0.0.rc17 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc16 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc15 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc14 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc13 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc12 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc11 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc10 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc4 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc3 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc2 lib/twilio-ruby/rest/trunking.rb