lib/twilio-ruby/rest/api/v2010/account/address.rb in twilio-ruby-5.22.1 vs lib/twilio-ruby/rest/api/v2010/account/address.rb in twilio-ruby-5.22.2
- old
+ new
@@ -356,10 +356,11 @@
'sid' => payload['sid'],
'street' => payload['street'],
'uri' => payload['uri'],
'emergency_enabled' => payload['emergency_enabled'],
'validated' => payload['validated'],
+ 'verified' => payload['verified'],
}
# Context
@instance_context = nil
@params = {'account_sid' => account_sid, 'sid' => sid || @properties['sid'], }
@@ -456,9 +457,15 @@
##
# @return [Boolean] Whether the address has been validated to comply with local regulation
def validated
@properties['validated']
+ end
+
+ ##
+ # @return [Boolean] Whether the address has been verified to comply with regulation
+ def verified
+ @properties['verified']
end
##
# Deletes the AddressInstance
# @return [Boolean] true if delete succeeds, true otherwise
\ No newline at end of file