lib/twilio-ruby/rest/verify/v2/template.rb in twilio-ruby-5.72.1 vs lib/twilio-ruby/rest/verify/v2/template.rb in twilio-ruby-5.73.0
- old
+ new
@@ -158,10 +158,11 @@
# Marshaled Properties
@properties = {
'sid' => payload['sid'],
'account_sid' => payload['account_sid'],
'friendly_name' => payload['friendly_name'],
+ 'channels' => payload['channels'],
'translations' => payload['translations'],
}
end
##
@@ -178,9 +179,15 @@
##
# @return [String] A string to describe the verification template
def friendly_name
@properties['friendly_name']
+ end
+
+ ##
+ # @return [Array[String]] The channels
+ def channels
+ @properties['channels']
end
##
# @return [Hash] Object with the template translations.
def translations
\ No newline at end of file