Sha256: 9f58acbfb471b75b1e06b069df23ee9fc7909fb8ca1ee080b118017b1005be94

Contents?: true

Size: 423 Bytes

Versions: 177

Compression:

Stored size: 423 Bytes

Contents

module Actions
  module Candlepin
    module Consumer
      class AttachSubscription < Candlepin::Abstract
        input_format do
          param :uuid, String
          param :pool_uuid, String
          param :quantity, Integer
        end

        def run
          ::Katello::Resources::Candlepin::Consumer.consume_entitlement(input[:uuid], input[:pool_uuid], input[:quantity])
        end
      end
    end
  end
end

Version data entries

177 entries across 177 versions & 1 rubygems

Version Path
katello-4.11.0.rc2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.11.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.10.0 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.9.2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.10.0.rc2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.10.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.8.4 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.9.1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.8.3 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.9.0 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.7.6 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.8.2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.9.0.rc2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.9.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.8.1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.7.5 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.8.0 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.8.0.rc2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.7.4 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.8.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb