lib/twilio-ruby/twiml/voice_response.rb in twilio-ruby-5.72.1 vs lib/twilio-ruby/twiml/voice_response.rb in twilio-ruby-5.73.0
- old
+ new
@@ -249,13 +249,14 @@
# Create a new <Prompt> element
# for_:: Name of the payment source data element
# error_type:: Type of error
# card_type:: Type of the credit card
# attempt:: Current attempt count
+ # require_matching_inputs:: Require customer to input requested information twice and verify matching.
# keyword_args:: additional attributes
- def prompt(for_: nil, error_type: nil, card_type: nil, attempt: nil, **keyword_args)
- prompt = Prompt.new(for_: for_, error_type: error_type, card_type: card_type, attempt: attempt, **keyword_args)
+ def prompt(for_: nil, error_type: nil, card_type: nil, attempt: nil, require_matching_inputs: nil, **keyword_args)
+ prompt = Prompt.new(for_: for_, error_type: error_type, card_type: card_type, attempt: attempt, require_matching_inputs: require_matching_inputs, **keyword_args)
yield(prompt) if block_given?
append(prompt)
end
@@ -1324,12 +1325,13 @@
# Create a new <Prompt> element
# for_:: Name of the payment source data element
# error_type:: Type of error
# card_type:: Type of the credit card
# attempt:: Current attempt count
+ # require_matching_inputs:: Require customer to input requested information twice and verify matching.
# keyword_args:: additional attributes
- def prompt(for_: nil, error_type: nil, card_type: nil, attempt: nil, **keyword_args)
- prompt = Prompt.new(for_: for_, error_type: error_type, card_type: card_type, attempt: attempt, **keyword_args)
+ def prompt(for_: nil, error_type: nil, card_type: nil, attempt: nil, require_matching_inputs: nil, **keyword_args)
+ prompt = Prompt.new(for_: for_, error_type: error_type, card_type: card_type, attempt: attempt, require_matching_inputs: require_matching_inputs, **keyword_args)
yield(prompt) if block_given?
append(prompt)
end
\ No newline at end of file