Sha256: c4161643c6fd8013a4e0d3850d9ecd604afb528fef0952c76bd8a939c24e4982

Contents?: true

Size: 1.04 KB

Versions: 103

Compression:

Stored size: 1.04 KB

Contents

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

module Twilio
  module REST
    class Pricing
      class V1 < Version
        ##
        # Initialize the V1 version of Pricing
        def initialize(domain)
          super
          @version = 'v1'
          @messaging = nil
          @phone_numbers = nil
          @voice = nil
        end

        ##
        # @return [Twilio::REST::Pricing::V1::MessagingContext]
        def messaging
          @messaging ||= MessagingList.new self
        end

        ##
        # @return [Twilio::REST::Pricing::V1::PhoneNumberContext]
        def phone_numbers
          @phone_numbers ||= PhoneNumberList.new self
        end

        ##
        # @return [Twilio::REST::Pricing::V1::VoiceContext]
        def voice
          @voice ||= VoiceList.new self
        end

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

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
twilio-ruby-5.44.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.43.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.42.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.41.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.40.4 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.40.3 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.40.2 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.40.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.40.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.39.3 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.39.2 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.39.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.39.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.38.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.37.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.36.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.35.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.34.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.34.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.33.1 lib/twilio-ruby/rest/pricing/v1.rb