Class: Actions::Pulp3::ContentGuard::Refresh

Inherits:
Abstract
  • Object
show all
Defined in:
app/lib/actions/pulp3/content_guard/refresh.rb

Instance Method Summary collapse

Methods inherited from Abstract

#smart_proxy

Instance Method Details

#plan(smart_proxy) ⇒ Object



5
6
7
# File 'app/lib/actions/pulp3/content_guard/refresh.rb', line 5

def plan(smart_proxy)
  plan_self(smart_proxy_id: smart_proxy.id)
end

#runObject



9
10
11
# File 'app/lib/actions/pulp3/content_guard/refresh.rb', line 9

def run
  ::Katello::Pulp3::Api::ContentGuard.new(smart_proxy).refresh
end