lib/twilio-ruby/rest/api/v2010/account/validation_request.rb in twilio-ruby-5.36.0 vs lib/twilio-ruby/rest/api/v2010/account/validation_request.rb in twilio-ruby-5.37.0

- old
+ new

@@ -115,44 +115,44 @@ super(version) # Marshaled Properties @properties = { 'account_sid' => payload['account_sid'], - 'phone_number' => payload['phone_number'], - 'friendly_name' => payload['friendly_name'], - 'validation_code' => payload['validation_code'].to_i, 'call_sid' => payload['call_sid'], + 'friendly_name' => payload['friendly_name'], + 'phone_number' => payload['phone_number'], + 'validation_code' => payload['validation_code'], } end ## # @return [String] The SID of the Account that created the resource def account_sid @properties['account_sid'] end ## - # @return [String] The phone number to verify in E.164 format - def phone_number - @properties['phone_number'] + # @return [String] The SID of the Call the resource is associated with + def call_sid + @properties['call_sid'] end ## # @return [String] The string that you assigned to describe the resource def friendly_name @properties['friendly_name'] end ## - # @return [String] The 6 digit validation code that someone must enter to validate the Caller ID when `phone_number` is called - def validation_code - @properties['validation_code'] + # @return [String] The phone number to verify in E.164 format + def phone_number + @properties['phone_number'] end ## - # @return [String] The SID of the Call the resource is associated with - def call_sid - @properties['call_sid'] + # @return [String] The 6 digit validation code that someone must enter to validate the Caller ID when `phone_number` is called + def validation_code + @properties['validation_code'] end ## # Provide a user friendly representation def to_s \ No newline at end of file