Class: Actions::Candlepin::Consumer::Update
- Defined in:
- app/lib/actions/candlepin/consumer/update.rb
Instance Method Summary collapse
Instance Method Details
#finalize ⇒ Object
15 16 17 |
# File 'app/lib/actions/candlepin/consumer/update.rb', line 15 def finalize input[:consumer_params][:facts] = 'TRIMMED' end |
#plan(uuid, consumer_params) ⇒ Object
5 6 7 8 |
# File 'app/lib/actions/candlepin/consumer/update.rb', line 5 def plan(uuid, consumer_params) plan_self(:uuid => uuid, :consumer_params => consumer_params) end |
#run ⇒ Object
10 11 12 13 |
# File 'app/lib/actions/candlepin/consumer/update.rb', line 10 def run ::Katello::Resources::Candlepin::Consumer.update(input[:uuid], input[:consumer_params]) output[:uuid] = input[:uuid] end |