Sha256: 7b188a8d4ba0f71e6102ee72abf9bcaabe50019b56a107c65e5847adfb73d9e8

Contents?: true

Size: 805 Bytes

Versions: 14

Compression:

Stored size: 805 Bytes

Contents

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

module Twilio
  module REST
    class Voice < Domain
      ##
      # Initialize the Voice Domain
      def initialize(twilio)
        super

        @base_url = 'https://voice.twilio.com'
        @host = 'voice.twilio.com'
        @port = 443

        # Versions
        @v1 = nil
      end

      ##
      # Version v1 of voice
      def v1
        @v1 ||= V1.new self
      end

      ##
      # @return [Twilio::REST::Voice::V1::VoicePermissionInstance]
      def voice_permissions
        self.v1.voice_permissions()
      end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
twilio-ruby-5.21.2 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.21.1 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.21.0 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.20.1 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.20.0 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.19.0 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.18.0 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.17.0 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.16.0 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.15.2 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.15.1 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.15.0 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.14.1 lib/twilio-ruby/rest/voice.rb
twilio-ruby-5.14.0 lib/twilio-ruby/rest/voice.rb