Class: Qualys::Scans
Constant Summary
Constants inherited from Api
Class Method Summary collapse
Methods inherited from Api
Class Method Details
.all ⇒ Object
4 5 6 7 8 |
# File 'lib/qualys/scans.rb', line 4 def self.all response = api_get("scan/", { :query => { :action => 'list' }}) scanlist = response.parsed_response['SCAN_LIST_OUTPUT']['RESPONSE']['SCAN_LIST'] puts scanlist.inspect end |
.each ⇒ Object
10 11 12 13 14 |
# File 'lib/qualys/scans.rb', line 10 def self.each @events.each do |event| yield event end end |