Sha256: 6f44f37e5eaf30285ac87f04be2c10a0a717068d164921f3f4637a5c1d464570

Contents?: true

Size: 707 Bytes

Versions: 5

Compression:

Stored size: 707 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(sid=:unset)
        self.v1.trunks(sid)
      end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc26 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc25 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc24 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc23 lib/twilio-ruby/rest/trunking.rb
twilio-ruby-5.0.0.rc22 lib/twilio-ruby/rest/trunking.rb