Class: Retell::SDK::Unofficial::API::Concurrency
- Inherits:
-
Object
- Object
- Retell::SDK::Unofficial::API::Concurrency
- Defined in:
- lib/retell/sdk/unofficial/api/concurrency.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ Concurrency
constructor
A new instance of Concurrency.
- #retrieve(extra_headers: nil, extra_query: nil, extra_body: nil, timeout: nil) ⇒ Object
Constructor Details
#initialize(client) ⇒ Concurrency
Returns a new instance of Concurrency.
6 7 8 |
# File 'lib/retell/sdk/unofficial/api/concurrency.rb', line 6 def initialize(client) @client = client end |
Instance Method Details
#retrieve(extra_headers: nil, extra_query: nil, extra_body: nil, timeout: nil) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/retell/sdk/unofficial/api/concurrency.rb', line 10 def retrieve( extra_headers: nil, extra_query: nil, extra_body: nil, timeout: nil ) = @client.( extra_headers: extra_headers, extra_query: extra_query, extra_body: extra_body, timeout: timeout ) @client.request(:get, '/get-concurrency', {}, **) end |