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.77.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.76.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.75.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.74.5 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.74.4 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.74.3 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.74.2 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.74.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.74.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.73.4 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.73.3 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.73.2 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.73.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.73.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.72.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.72.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.71.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.70.1 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.70.0 lib/twilio-ruby/rest/pricing/v1.rb
twilio-ruby-5.69.0 lib/twilio-ruby/rest/pricing/v1.rb