lib/twilio-ruby/rest/studio/v1/flow/execution.rb in twilio-ruby-5.15.2 vs lib/twilio-ruby/rest/studio/v1/flow/execution.rb in twilio-ruby-5.16.0
- old
+ new
@@ -114,14 +114,14 @@
# available as variable {{contact.channel.address}}.
# @param [String] from The Twilio phone number to send messages or initiate calls
# from during the Flow Execution, available as variable {{flow.channel.address}}
# @param [Hash] parameters JSON data that will be added to your flow's context and
# can accessed as variables inside your flow. For example, if you pass in
- # Parameters={'name':'Zeke'} then inside a widget you can reference the variable
- # {{flow.data.name}} which will return the string 'Zeke'. Note: the JSON value
- # must explicitly be passed as a string, not as a hash object. Depending on your
- # particular HTTP library, you may need to add quotes or URL encode your JSON
- # string.
+ # `Parameters={"name":"Zeke"}`, then inside a widget you can reference the
+ # variable `{{flow.data.name}}` which will return the string "Zeke". Note: the
+ # JSON value must explicitly be passed as a string, not as a hash object.
+ # Depending on your particular HTTP library, you may need to add quotes or URL
+ # encode your JSON string.
# @return [ExecutionInstance] Newly created ExecutionInstance
def create(to: nil, from: nil, parameters: :unset)
data = Twilio::Values.of({
'To' => to,
'From' => from,
\ No newline at end of file