Sha256: b3d1ba70d5f471f6b3291e28291d8e0816fc5db273ecf3dac0d432d11f68107b

Contents?: true

Size: 440 Bytes

Versions: 9

Compression:

Stored size: 440 Bytes

Contents

module Actions
  module Candlepin
    module Consumer
      class RemoveSubscription < Candlepin::Abstract
        middleware.use Actions::Middleware::KeepCurrentUser

        input_format do
          param :uuid, String
          param :entitlement_id, String
        end

        def run
          ::Katello::Resources::Candlepin::Consumer.remove_entitlement(input[:uuid], input[:entitlement_id])
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-3.0.2 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.1 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.0 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.0.rc7 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.0.rc5 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.0.rc4 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.0.rc3 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.0.rc2 app/lib/actions/candlepin/consumer/remove_subscription.rb
katello-3.0.0.rc1 app/lib/actions/candlepin/consumer/remove_subscription.rb