Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add CallScope#gather_finish_on_key.

For accessing the finishOnKey option on a gather scope.
  • Loading branch information...
commit 9d4a8bf2ece914c10f0604dfbee0efbf9f86af35 1 parent 6c8314d
Jon Gilbraith authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/twilio-test-toolkit/call_scope.rb
View
5 lib/twilio-test-toolkit/call_scope.rb
@@ -84,6 +84,11 @@ def gather_method
return @xml["method"]
end
+ def gather_finish_on_key
+ raise "Not a gather" unless gather?
+ return @xml["finishOnKey"]
+ end
+
def press(digits)
raise "Not a gather" unless gather?
Please sign in to comment.
Something went wrong with that request. Please try again.