module TwilioTestToolkit::DSL
Adds the `ttt_call` method to the top-level namespace.
Public Instance Methods
ttt_call(initial_path, from_number, to_number, options = {})
click to toggle source
Initiate a call. Options:
-
:method - specify the http method of the initial api call
-
:call_sid - specify an optional fixed value to be passed as params
-
:is_machine - controls params
# File lib/twilio-test-toolkit/dsl.rb, line 10 def ttt_call(initial_path, from_number, to_number, options = {}) # Make a new call in progress return CallInProgress.new(initial_path, from_number, to_number, options) end