Method: Twilio::REST::Api::V2010::AccountContext::ValidationRequestInstance#validation_code

Defined in:
lib/twilio-ruby/rest/api/v2010/account/validation_request.rb

#validation_codeString

Returns The 6 digit validation code that someone must enter to validate the Caller ID when ‘phone_number` is called.

Returns:

  • (String)

    The 6 digit validation code that someone must enter to validate the Caller ID when ‘phone_number` is called.



163
164
165
# File 'lib/twilio-ruby/rest/api/v2010/account/validation_request.rb', line 163

def validation_code
    @properties['validation_code']
end