Class: SignalWire::REST::Namespaces::VideoStreams

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/signalwire/rest/namespaces/video.rb

Overview

Video stream management.

Instance Method Summary collapse

Methods inherited from BaseResource

#initialize

Constructor Details

This class inherits a constructor from SignalWire::REST::BaseResource

Instance Method Details

#delete(stream_id) ⇒ Object



106
107
108
# File 'lib/signalwire/rest/namespaces/video.rb', line 106

def delete(stream_id)
  @http.delete(_path(stream_id))
end

#get(stream_id) ⇒ Object



98
99
100
# File 'lib/signalwire/rest/namespaces/video.rb', line 98

def get(stream_id)
  @http.get(_path(stream_id))
end

#update(stream_id, **kwargs) ⇒ Object



102
103
104
# File 'lib/signalwire/rest/namespaces/video.rb', line 102

def update(stream_id, **kwargs)
  @http.put(_path(stream_id), kwargs)
end