Class: Actions::Katello::Repository::VerifyChecksum

Inherits:
EntryAction
  • Object
show all
Includes:
Helpers::Presenter
Defined in:
app/lib/actions/katello/repository/verify_checksum.rb

Instance Method Summary collapse

Instance Method Details

#plan(repo) ⇒ Object



7
8
9
10
# File 'app/lib/actions/katello/repository/verify_checksum.rb', line 7

def plan(repo)
  action_subject(repo)
  plan_action(Actions::Pulp3::Repository::Repair, repo.id, SmartProxy.pulp_primary)
end

#presenterObject



12
13
14
15
# File 'app/lib/actions/katello/repository/verify_checksum.rb', line 12

def presenter
  found = all_planned_actions(Pulp3::Repository::Repair)
  Helpers::Presenter::Delegated.new(self, found)
end