Sha256: e31411c73f07354a7abb63ec8c01e9711772c3124cafb1b7b9477a8d94198428

Contents?: true

Size: 239 Bytes

Versions: 24

Compression:

Stored size: 239 Bytes

Contents

module Actions
  module Katello
    module Repository
      class DestroyMedium < Actions::Base
        def plan(repo)
          medium = Medium.find_medium(repo)
          medium.destroy! if medium
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
katello-3.2.0.rc1.1 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.2.0.rc1 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.1.0.1 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.1.0 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.1.0.rc2.1 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.2 app/lib/actions/katello/repository/destroy_medium.rb
katello-2.4.5 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.1.0.rc1 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.1 app/lib/actions/katello/repository/destroy_medium.rb
katello-2.4.4 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.0 app/lib/actions/katello/repository/destroy_medium.rb
katello-2.4.3 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.0.rc7 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.0.rc5 app/lib/actions/katello/repository/destroy_medium.rb
katello-2.4.2 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.0.rc4 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.0.rc3 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.0.rc2 app/lib/actions/katello/repository/destroy_medium.rb
katello-3.0.0.rc1 app/lib/actions/katello/repository/destroy_medium.rb
katello-2.4.1 app/lib/actions/katello/repository/destroy_medium.rb