Method: Plivo::Resources::CallInterface#send_digits

Defined in:
lib/plivo/resources/calls.rb

#send_digits(call_uuid, digits, leg = nil) ⇒ Object

Parameters:

  • call_uuid (String)
  • digits (String)
    • Digits to be sent.

  • leg (String) (defaults to: nil)
    • The leg to be used, can be aleg (the current call) or bleg (the other party in a Dial). Defaults to aleg.



644
645
646
647
# File 'lib/plivo/resources/calls.rb', line 644

def send_digits(call_uuid, digits, leg = nil)
  valid_param?(:call_uuid, call_uuid, [String, Symbol], true)
  Call.new(@_client, resource_id: call_uuid).send_digits(digits, leg)
end