Class: OpenVidu::Config

Inherits:
Base
  • Object
show all
Defined in:
lib/open_vidu/config.rb

Overview

Config

Constant Summary collapse

ASSIGNABLE_PARAMS =
%w[].freeze
GENERATED_PARAMS =
%w[
  version openviduPublicurl openviduCdr maxRecvBandwidth minRecvBandwidth
  maxSendBandwidth minSendBandwidth openviduRecording
  openviduRecordingVersion openviduRecordingPath
  openviduRecordingPublicAccess openviduRecordingNotification
  openviduRecordingCustomLayout openviduRecordingAutostopTimeout
  openviduWebhookEndpoint openviduWebhookHeaders openviduWebhookEvents
].freeze
ALL_PARAMS =
(ASSIGNABLE_PARAMS + GENERATED_PARAMS).freeze

Instance Attribute Summary

Attributes inherited from Base

#server

Instance Method Summary collapse

Methods inherited from Base

content_key, #create_params, #initialize

Constructor Details

This class inherits a constructor from OpenVidu::Base

Instance Method Details

#configObject



15
16
17
# File 'lib/open_vidu/config.rb', line 15

def config
  OpenVidu::Command.new(:config, :get, 'config', { options: {server: server } }).execute
end