lib/twilio-ruby/rest/api/v2010/account/validation_request.rb in twilio-ruby-5.0.0.rc26 vs lib/twilio-ruby/rest/api/v2010/account/validation_request.rb in twilio-ruby-5.0.0
- old
+ new
@@ -69,11 +69,10 @@
##
# Initialize the ValidationRequestPage
# @param [Version] version Version that contains the resource
# @param [Response] response Response from the API
# @param [Hash] solution Path solution for the resource
- # @param [String] account_sid The account_sid
# @return [ValidationRequestPage] ValidationRequestPage
def initialize(version, response, solution)
super(version, response)
# Path Solution
@@ -117,25 +116,35 @@
'validation_code' => payload['validation_code'].to_i,
'call_sid' => payload['call_sid'],
}
end
+ ##
+ # @return [String] The account_sid
def account_sid
@properties['account_sid']
end
+ ##
+ # @return [String] The phone_number
def phone_number
@properties['phone_number']
end
+ ##
+ # @return [String] The friendly_name
def friendly_name
@properties['friendly_name']
end
+ ##
+ # @return [String] The validation_code
def validation_code
@properties['validation_code']
end
+ ##
+ # @return [String] The call_sid
def call_sid
@properties['call_sid']
end
##
\ No newline at end of file