Class: Actions::Candlepin::Consumer::Hypervisors
- Defined in:
- app/lib/actions/candlepin/consumer/hypervisors.rb
Instance Method Summary collapse
Instance Method Details
#plan(hypervisor_params) ⇒ Object
5 6 7 |
# File 'app/lib/actions/candlepin/consumer/hypervisors.rb', line 5 def plan(hypervisor_params) plan_self(:hypervisor_params => hypervisor_params) end |
#run ⇒ Object
9 10 11 |
# File 'app/lib/actions/candlepin/consumer/hypervisors.rb', line 9 def run output[:results] = ::Katello::Resources::Candlepin::Consumer.register_hypervisors(input[:hypervisor_params]) end |