Class: SignalWire::REST::Namespaces::VideoNamespace
- Inherits:
-
Object
- Object
- SignalWire::REST::Namespaces::VideoNamespace
- Defined in:
- lib/signalwire/rest/namespaces/video.rb
Overview
Video API namespace.
Instance Attribute Summary collapse
-
#conference_tokens ⇒ Object
readonly
Returns the value of attribute conference_tokens.
-
#conferences ⇒ Object
readonly
Returns the value of attribute conferences.
-
#room_recordings ⇒ Object
readonly
Returns the value of attribute room_recordings.
-
#room_sessions ⇒ Object
readonly
Returns the value of attribute room_sessions.
-
#room_tokens ⇒ Object
readonly
Returns the value of attribute room_tokens.
-
#rooms ⇒ Object
readonly
Returns the value of attribute rooms.
-
#streams ⇒ Object
readonly
Returns the value of attribute streams.
Instance Method Summary collapse
-
#initialize(http) ⇒ VideoNamespace
constructor
A new instance of VideoNamespace.
Constructor Details
#initialize(http) ⇒ VideoNamespace
Returns a new instance of VideoNamespace.
116 117 118 119 120 121 122 123 124 125 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 116 def initialize(http) base = '/api/video' @rooms = VideoRooms.new(http, "#{base}/rooms") @room_tokens = VideoRoomTokens.new(http, "#{base}/room_tokens") @room_sessions = VideoRoomSessions.new(http, "#{base}/room_sessions") @room_recordings = VideoRoomRecordings.new(http, "#{base}/room_recordings") @conferences = VideoConferences.new(http, "#{base}/conferences") @conference_tokens = VideoConferenceTokens.new(http, "#{base}/conference_tokens") @streams = VideoStreams.new(http, "#{base}/streams") end |
Instance Attribute Details
#conference_tokens ⇒ Object (readonly)
Returns the value of attribute conference_tokens.
113 114 115 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 113 def conference_tokens @conference_tokens end |
#conferences ⇒ Object (readonly)
Returns the value of attribute conferences.
113 114 115 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 113 def conferences @conferences end |
#room_recordings ⇒ Object (readonly)
Returns the value of attribute room_recordings.
113 114 115 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 113 def room_recordings @room_recordings end |
#room_sessions ⇒ Object (readonly)
Returns the value of attribute room_sessions.
113 114 115 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 113 def room_sessions @room_sessions end |
#room_tokens ⇒ Object (readonly)
Returns the value of attribute room_tokens.
113 114 115 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 113 def room_tokens @room_tokens end |
#rooms ⇒ Object (readonly)
Returns the value of attribute rooms.
113 114 115 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 113 def rooms @rooms end |
#streams ⇒ Object (readonly)
Returns the value of attribute streams.
113 114 115 |
# File 'lib/signalwire/rest/namespaces/video.rb', line 113 def streams @streams end |