lib/twilio-ruby/rest/pricing/v1/voice.rb in twilio-ruby-5.0.0.rc9 vs lib/twilio-ruby/rest/pricing/v1/voice.rb in twilio-ruby-5.0.0.rc10
- old
+ new
@@ -10,11 +10,10 @@
class V1 < Version
class VoiceList < ListResource
##
# Initialize the VoiceList
# @param [Version] version Version that contains the resource
-
# @return [VoiceList] VoiceList
def initialize(version)
super(version)
# Path Solution
@@ -26,11 +25,10 @@
end
##
# Access the numbers
# @param [String] number The number
-
# @return [NumberList] NumberList
def numbers(number=:unset)
if number != :unset
return NumberContext.new(
@version,
@@ -44,11 +42,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,
@@ -72,11 +69,10 @@
##
# Initialize the VoicePage
# @param [Version] version Version that contains the resource
# @param [Response] response Response from the API
# @param [Hash] solution Path solution for the resource
-
# @return [VoicePage] VoicePage
def initialize(version, response, solution)
super(version, response)
# Path Solution
@@ -84,11 +80,10 @@
end
##
# Build an instance of VoiceInstance
# @param [Hash] payload Payload response from the API
-
# @return [VoiceInstance] VoiceInstance
def get_instance(payload)
return VoiceInstance.new(
@version,
payload,
@@ -105,10 +100,9 @@
class VoiceInstance < InstanceResource
##
# Initialize the VoiceInstance
# @param [Version] version Version that contains the resource
# @param [Hash] payload payload that contains response from Twilio
-
# @return [VoiceInstance] VoiceInstance
def initialize(version, payload)
super(version)
# Marshaled Properties
\ No newline at end of file