Class: Vonage::Voice::DTMF

Inherits:
Namespace
  • Object
show all
Defined in:
lib/vonage/voice/dtmf.rb

Instance Method Summary collapse

Instance Method Details

#send(id, params) ⇒ Response

Play DTMF tones into a call.

Parameters:

  • id (String)
  • params (Hash)

Options Hash (params):

  • :digits (String)

    The digits to send.

Returns:

See Also:



22
23
24
# File 'lib/vonage/voice/dtmf.rb', line 22

def send(id, params)
  request('/v1/calls/' + id + '/dtmf', params: params, type: Put)
end