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.14.2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.15.0 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.15.0.rc2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.15.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.14.1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.14.0 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.14.0.rc3 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.14.0.rc2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.14.0.rc1.1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.14.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.13.1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.13.0 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.12.1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.13.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.12.0 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.12.0.rc3 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.12.0.rc2 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.12.0.rc1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.11.1 app/lib/actions/candlepin/consumer/attach_subscription.rb
katello-4.11.0 app/lib/actions/candlepin/consumer/attach_subscription.rb