Class: Actions::Candlepin::Environment::Create

Inherits:
Abstract
  • Object
show all
Defined in:
app/lib/actions/candlepin/environment/create.rb

Instance Method Summary collapse

Instance Method Details

#runObject



12
13
14
15
16
17
# File 'app/lib/actions/candlepin/environment/create.rb', line 12

def run
  ::Katello::Resources::Candlepin::Environment.create(input['organization_label'],
                                           input['cp_id'],
                                           input['name'],
                                           input['description'])
end