lib/twilio-ruby/rest/pricing/v1/messaging/country.rb in twilio-ruby-5.21.2 vs lib/twilio-ruby/rest/pricing/v1/messaging/country.rb in twilio-ruby-5.22.0

- old
+ new

@@ -144,11 +144,13 @@ class CountryContext < InstanceContext ## # Initialize the CountryContext # @param [Version] version Version that contains the resource - # @param [String] iso_country The iso_country + # @param [String] iso_country The [ISO country + # code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the pricing + # information to fetch. # @return [CountryContext] CountryContext def initialize(version, iso_country) super(version) # Path Solution @@ -189,11 +191,13 @@ class CountryInstance < InstanceResource ## # Initialize the CountryInstance # @param [Version] version Version that contains the resource # @param [Hash] payload payload that contains response from Twilio - # @param [String] iso_country The iso_country + # @param [String] iso_country The [ISO country + # code](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the pricing + # information to fetch. # @return [CountryInstance] CountryInstance def initialize(version, payload, iso_country: nil) super(version) # Marshaled Properties @@ -221,11 +225,11 @@ end @instance_context end ## - # @return [String] Name of the country + # @return [String] The name of the country def country @properties['country'] end ## @@ -233,28 +237,28 @@ def iso_country @properties['iso_country'] end ## - # @return [String] List of OutboundSMSPrice records + # @return [String] The list of OutboundSMSPrice records def outbound_sms_prices @properties['outbound_sms_prices'] end ## - # @return [String] List of InboundPrice records + # @return [String] The list of InboundPrice records def inbound_sms_prices @properties['inbound_sms_prices'] end ## - # @return [String] The currency in which prices are measured, in ISO 4127 format (e.g. usd, eur, jpy). + # @return [String] The currency in which prices are measured, in ISO 4127 format (e.g. usd, eur, jpy) def price_unit @properties['price_unit'] end ## - # @return [String] The url + # @return [String] The absolute URL of the resource def url @properties['url'] end ## \ No newline at end of file