Class: RunApi::OpenaiTranscription::Client
- Inherits:
-
Core::Client
- Object
- Core::Client
- RunApi::OpenaiTranscription::Client
- Defined in:
- lib/runapi/openai_transcription/client.rb
Instance Attribute Summary collapse
-
#speech_to_text ⇒ Object
readonly
Returns the value of attribute speech_to_text.
Instance Method Summary collapse
-
#initialize(api_key: nil, **options) ⇒ Client
constructor
A new instance of Client.
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, **) super @speech_to_text = Resources::SpeechToText.new(http) end |
Instance Attribute Details
#speech_to_text ⇒ Object (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 |