lib/twilio-ruby/rest/pricing/v1.rb in twilio-ruby-5.77.0 vs lib/twilio-ruby/rest/pricing/v1.rb in twilio-ruby-6.0.0.pre.rc.1

- old
+ new

@@ -1,49 +1,52 @@ ## -# This code was generated by -# \ / _ _ _| _ _ -# | (_)\/(_)(_|\/| |(/_ v1.0.0 -# / / +# This code was generated by +# ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ +# | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ +# | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ # -# frozen_string_literal: true +# Twilio - Pricing +# This is the public Twilio REST API. +# +# NOTE: This class is auto generated by OpenAPI Generator. +# https://openapi-generator.tech +# Do not edit the class manually. +# 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 + 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 + ## + # @return [Twilio::REST::Pricing::V1::MessagingList] + def messaging + @messaging ||= MessagingList.new self + end + ## + # @return [Twilio::REST::Pricing::V1::PhoneNumberList] + def phone_numbers + @phone_numbers ||= PhoneNumberList.new self + end + ## + # @return [Twilio::REST::Pricing::V1::VoiceList] + def voice + @voice ||= VoiceList.new self + end + ## + # Provide a user friendly representation + def to_s + '<Twilio::REST::Pricing::V1>'; + end + end 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 \ No newline at end of file +end