Class: Actions::Candlepin::ActivationKey::Update

Inherits:
Actions::Candlepin::Abstract show all
Defined in:
app/lib/actions/candlepin/activation_key/update.rb

Instance Method Summary collapse

Instance Method Details

#runObject



15
16
17
18
19
20
21
22
23
24
# File 'app/lib/actions/candlepin/activation_key/update.rb', line 15

def run
  ::Katello::Resources::Candlepin::ActivationKey.update(
                                                        input[:cp_id],
                                                        input[:release_version],
                                                        input[:service_level],
                                                        input[:auto_attach],
                                                        input[:purpose_role],
                                                        input[:purpose_usage],
                                                        input[:purpose_addons])
end