Module: Deepgram::Client
- Defined in:
- lib/deepgram/client.rb
Overview
The Client module serves as a factory for creating instances of various specialized client classes within the Deepgram module. Each client class is tailored to interact with a specific part of the Deepgram API.
Class Method Summary collapse
-
.listen ⇒ Deepgram::Listen::Client
Creates a new instance of the Listen::Client class.
-
.management ⇒ Deepgram::Management::Client
Creates a new instance of the Management::Client class.
-
.on_prem ⇒ Deepgram::OnPrem::Client
Creates a new instance of the OnPrem::Client class.
-
.read ⇒ Deepgram::Read::Client
Creates a new instance of the Read::Client class.
-
.speak ⇒ Deepgram::Speak::Client
Creates a new instance of the Speak::Client class.
Class Method Details
.listen ⇒ Deepgram::Listen::Client
Creates a new instance of the Listen::Client class.
25 26 27 |
# File 'lib/deepgram/client.rb', line 25 def self.listen Listen::Client.new end |
.management ⇒ Deepgram::Management::Client
Creates a new instance of the Management::Client class.
32 33 34 |
# File 'lib/deepgram/client.rb', line 32 def self.management Management::Client.new end |
.on_prem ⇒ Deepgram::OnPrem::Client
Creates a new instance of the OnPrem::Client class.
39 40 41 |
# File 'lib/deepgram/client.rb', line 39 def self.on_prem OnPrem::Client.new end |
.read ⇒ Deepgram::Read::Client
Creates a new instance of the Read::Client class.
11 12 13 |
# File 'lib/deepgram/client.rb', line 11 def self.read Read::Client.new end |
.speak ⇒ Deepgram::Speak::Client
Creates a new instance of the Speak::Client class.
18 19 20 |
# File 'lib/deepgram/client.rb', line 18 def self.speak Speak::Client.new end |