Class: SignalWire::REST::Namespaces::VideoNamespace

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

Overview

Video API namespace.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokensObject (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

#conferencesObject (readonly)

Returns the value of attribute conferences.



113
114
115
# File 'lib/signalwire/rest/namespaces/video.rb', line 113

def conferences
  @conferences
end

#room_recordingsObject (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_sessionsObject (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_tokensObject (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

#roomsObject (readonly)

Returns the value of attribute rooms.



113
114
115
# File 'lib/signalwire/rest/namespaces/video.rb', line 113

def rooms
  @rooms
end

#streamsObject (readonly)

Returns the value of attribute streams.



113
114
115
# File 'lib/signalwire/rest/namespaces/video.rb', line 113

def streams
  @streams
end