Class: OpenAI::Resources::Realtime

Inherits:
Object
  • Object
show all
Defined in:
lib/openai/resources/realtime.rb,
lib/openai/resources/realtime/client_secrets.rb

Defined Under Namespace

Classes: ClientSecrets

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Realtime

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Realtime.

Parameters:



12
13
14
15
# File 'lib/openai/resources/realtime.rb', line 12

def initialize(client:)
  @client = client
  @client_secrets = OpenAI::Resources::Realtime::ClientSecrets.new(client: client)
end

Instance Attribute Details

#client_secretsOpenAI::Resources::Realtime::ClientSecrets (readonly)



7
8
9
# File 'lib/openai/resources/realtime.rb', line 7

def client_secrets
  @client_secrets
end