Module: Resource::Tokens
- Included in:
- NessusClient
- Defined in:
- lib/modules/tokens.rb
Overview
Namespace for tokens resource.
Instance Method Summary collapse
-
#token_download(export_uuid) ⇒ JSON
Check the download of a export request.
-
#token_status(export_uuid) ⇒ JSON
Check the status of a export request.
Instance Method Details
#token_download(export_uuid) ⇒ JSON
Check the download of a export request
23 24 25 |
# File 'lib/modules/tokens.rb', line 23 def token_download(export_uuid) request.get({ path: "/tokens/#{export_uuid}/download", headers: headers }) end |
#token_status(export_uuid) ⇒ JSON
Check the status of a export request
11 12 13 |
# File 'lib/modules/tokens.rb', line 11 def token_status(export_uuid) request.get({ path: "/tokens/#{export_uuid}/status", headers: headers }) end |