def completed_assets(scan_id)
      uri = "/data/asset/scan/#{scan_id}/complete-assets"
      AJAX.preserving_preference(self, 'scan-complete-assets') do
        data = DataTable._get_json_table(self, uri, {}, 500, nil, false)
        data.map(&CompletedAsset.method(:parse_json))
      end
    end
def completed_assets(scan_id)
      uri = "/data/asset/scan/#{scan_id}/complete-assets"
      AJAX.preserving_preference(self, 'scan-complete-assets') do
        data = DataTable._get_json_table(self, uri, {}, 500, nil, false)
        data.map(&CompletedAsset.method(:parse_json))
      end
    end
Retrieve a list of assets which completed in a given scan. If called
 during a scan, this method returns currently completed assets. A
 "completed" asset can be in one of three states: completed successfully,
 failed due to an error, or stopped by a user.

 @param [Fixnum] scan_id Unique identifier of a scan.
 @return [Array[CompletedAsset]] List of completed assets.