Class: Actions::Katello::Provider::Update

Inherits:
EntryAction
  • Object
show all
Defined in:
app/lib/actions/katello/provider/update.rb

Instance Method Summary collapse

Instance Method Details

#humanized_nameObject



11
12
13
# File 'app/lib/actions/katello/provider/update.rb', line 11

def humanized_name
  _("Update")
end

#plan(provider, params) ⇒ Object



5
6
7
8
9
# File 'app/lib/actions/katello/provider/update.rb', line 5

def plan(provider, params)
  action_subject(provider)

  update_url(provider, params[:redhat_repository_url]) if params[:redhat_repository_url]
end