lib/twilio-ruby/rest/pricing/v1/phone_number.rb in twilio-ruby-5.0.0.rc9 vs lib/twilio-ruby/rest/pricing/v1/phone_number.rb in twilio-ruby-5.0.0.rc10
- old
+ new
@@ -10,11 +10,10 @@
class V1 < Version
class PhoneNumberList < ListResource
##
# Initialize the PhoneNumberList
# @param [Version] version Version that contains the resource
-
# @return [PhoneNumberList] PhoneNumberList
def initialize(version)
super(version)
# Path Solution
@@ -25,11 +24,10 @@
end
##
# Access the countries
# @param [String] iso_country The iso_country
-
# @return [CountryList] CountryList
def countries(iso_country=:unset)
if iso_country != :unset
return CountryContext.new(
@version,
@@ -53,11 +51,10 @@
##
# Initialize the PhoneNumberPage
# @param [Version] version Version that contains the resource
# @param [Response] response Response from the API
# @param [Hash] solution Path solution for the resource
-
# @return [PhoneNumberPage] PhoneNumberPage
def initialize(version, response, solution)
super(version, response)
# Path Solution
@@ -65,11 +62,10 @@
end
##
# Build an instance of PhoneNumberInstance
# @param [Hash] payload Payload response from the API
-
# @return [PhoneNumberInstance] PhoneNumberInstance
def get_instance(payload)
return PhoneNumberInstance.new(
@version,
payload,
@@ -86,10 +82,9 @@
class PhoneNumberInstance < InstanceResource
##
# Initialize the PhoneNumberInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
-
# @return [PhoneNumberInstance] PhoneNumberInstance
def initialize(version, payload)
super(version)
# Marshaled Properties
\ No newline at end of file