Class: RunApi::OpenaiTranscription::Client

Inherits:
Core::Client
  • Object
show all
Defined in:
lib/runapi/openai_transcription/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key: nil, **options) ⇒ Client

Returns a new instance of Client.



8
9
10
11
# File 'lib/runapi/openai_transcription/client.rb', line 8

def initialize(api_key: nil, **options)
  super
  @speech_to_text = Resources::SpeechToText.new(http)
end

Instance Attribute Details

#speech_to_textObject (readonly)

Returns the value of attribute speech_to_text.



6
7
8
# File 'lib/runapi/openai_transcription/client.rb', line 6

def speech_to_text
  @speech_to_text
end