Class: Nexmo::Calls::DTMF

Inherits:
Namespace
  • Object
show all
Defined in:
lib/nexmo/calls/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:


21
22
23
# File 'lib/nexmo/calls/dtmf.rb', line 21

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