Method: Nexmo::Voice::Stream#stop

Defined in:
lib/nexmo/voice/stream.rb

#stop(id) ⇒ Response

Stop playing an audio file into a call.

Parameters:

  • id (String)

Returns:

See Also:



40
41
42
# File 'lib/nexmo/voice/stream.rb', line 40

def stop(id)
  request('/v1/calls/' + id + '/stream', type: Delete)
end