Sha256: c174a79f02fcd459a31aa43ea444794c95cb007afe178f56d72a18cb147fd0d3

Contents?: true

Size: 489 Bytes

Versions: 17

Compression:

Stored size: 489 Bytes

Contents

module Actions
  module Katello
    module UpstreamSubscriptions
      class RemoveEntitlement < Actions::Base
        middleware.use Actions::Middleware::PropagateCandlepinErrors

        input_format do
          param :entitlement_id
        end

        def run
          output[:response] = ::Katello::Resources::Candlepin::UpstreamConsumer.remove_entitlement(input[:entitlement_id])
        end

        def run_progress_weight
          0.01
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
katello-3.12.3 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.12.2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.12.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.11.2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.10.2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.12.0 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.12.0.rc2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.10.1.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.12.0.rc1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.10.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.11.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.11.0 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.11.0.rc2 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.11.0.rc1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.10.0 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.10.0.rc1.1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb
katello-3.10.0.rc1 app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb