Class: Actions::Katello::RepositorySet::ScanCdn

Inherits:
AbstractAsyncTask show all
Defined in:
app/lib/actions/katello/repository_set/scan_cdn.rb

Instance Method Summary collapse

Methods inherited from AbstractAsyncTask

#humanized_output, #rescue_strategy

Instance Method Details

#plan(product, content_id) ⇒ Object



19
20
21
# File 'app/lib/actions/katello/repository_set/scan_cdn.rb', line 19

def plan(product, content_id)
  plan_self(product_id: product.id, content_id: content_id)
end

#runObject



23
24
25
# File 'app/lib/actions/katello/repository_set/scan_cdn.rb', line 23

def run
  output[:results] = fetch_results
end