Class: Actions::Katello::Provider::ManifestRefresh
Instance Method Summary
collapse
#humanized_output, #rescue_strategy
Instance Method Details
#humanized_name ⇒ Object
19
20
21
|
# File 'app/lib/actions/katello/provider/manifest_refresh.rb', line 19
def humanized_name
_("Refresh Manifest")
end
|
#plan(provider, upstream) ⇒ Object
7
8
9
10
|
# File 'app/lib/actions/katello/provider/manifest_refresh.rb', line 7
def plan(provider, upstream)
action_subject provider
plan_self :upstream => upstream
end
|
#run ⇒ Object
23
24
25
26
|
# File 'app/lib/actions/katello/provider/manifest_refresh.rb', line 23
def run
provider = ::Katello::Provider.find(input[:provider][:id])
provider.refresh_manifest(input[:upstream])
end
|