Class: Retell::SDK::Unofficial::API::Concurrency

Inherits:
Object
  • Object
show all
Defined in:
lib/retell/sdk/unofficial/api/concurrency.rb

Instance Method Summary collapse

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
)
  options = @client.make_request_options(
    extra_headers: extra_headers,
    extra_query: extra_query,
    extra_body: extra_body,
    timeout: timeout
  )
  @client.request(:get, '/get-concurrency', {}, **options)
end