Sha256: 36cc042051de3180860f5b67ffebe2a2e0ee8a630029eb2e463fa65731ec167c
Contents?: true
Size: 590 Bytes
Versions: 14
Compression:
Stored size: 590 Bytes
Contents
module Actions module Katello module UpstreamSubscriptions class UpdateEntitlement < Actions::Base middleware.use Actions::Middleware::KeepCurrentTaxonomies middleware.use Actions::Middleware::PropagateCandlepinErrors input_format do param :entitlement_id param :quantity end def run output[:response] = ::Katello::Resources::Candlepin::UpstreamEntitlement.update(input[:entitlement_id], input[:quantity]) end def run_progress_weight 0.01 end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems