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.58.2 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.58.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.58.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.57.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.57.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.56.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.55.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.54.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.54.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.53.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.52.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.51.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.50.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.49.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.48.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.47.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.46.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.46.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.45.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.45.0 lib/twilio-ruby/rest/pricing/v1.rb