Module: Terminal::Modules::RequestProgress

Includes:
Utils
Included in:
API
Defined in:
lib/terminal/modules/request_progress.rb

Instance Method Summary collapse

Instance Method Details

#request_progress(request_id) ⇒ Hash

Get info and status of an API request

Parameters:

  • request_id (String)

    the request id you are trying to get more info about

Returns:

  • (Hash)

    of terminals, the key :terminals is top level

See Also:



13
14
15
16
17
18
# File 'lib/terminal/modules/request_progress.rb', line 13

def request_progress(request_id)
  options = {}
  options[:auth] = true
  options[:request_id] = request_id
  perform(:post, 'request_progress', options )
end