Skip to content

Commit fda4d12

Browse files
author
childish-sambino
authored
Update TwiML docs for naming overrides (#458)
1 parent 921f984 commit fda4d12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/twilio-ruby/twiml/voice_response.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def emphasis(words, level: nil, **keyword_args)
493493
##
494494
# Create a new <Lang> element
495495
# words:: Words to speak
496-
# xml:lang:: Specify the language
496+
# xmlLang:: Specify the language
497497
# keyword_args:: additional attributes
498498
def lang(words, xmlLang: nil, **keyword_args)
499499
append(SsmlLang.new(words, xmlLang: xmlLang, **keyword_args))
@@ -539,7 +539,7 @@ def s(words, **keyword_args)
539539
##
540540
# Create a new <Say-As> element
541541
# words:: Words to be interpreted
542-
# interpret-as:: Specify the type of words are spoken
542+
# interpretAs:: Specify the type of words are spoken
543543
# role:: Specify the format of the date when interpret-as is set to date
544544
# keyword_args:: additional attributes
545545
def say_as(words, interpretAs: nil, role: nil, **keyword_args)
@@ -549,7 +549,7 @@ def say_as(words, interpretAs: nil, role: nil, **keyword_args)
549549
##
550550
# Create a new <Sub> element
551551
# words:: Words to be substituted
552-
# alias:: Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation
552+
# aliasAttribute:: Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation
553553
# keyword_args:: additional attributes
554554
def sub(words, aliasAttribute: nil, **keyword_args)
555555
append(SsmlSub.new(words, aliasAttribute: aliasAttribute, **keyword_args))

0 commit comments

Comments
 (0)