Sha256: e3b4df23b5e33bc7adf17ed0d0093c4b24fc404b49faba613450546053dc72f8
Contents?: true
Size: 764 Bytes
Versions: 147
Compression:
Stored size: 764 Bytes
Contents
module Actions module Katello module ContentView class EnvironmentCreate < Actions::Base def plan(content_view_environment) content_view_environment.save! if ::SETTINGS[:katello][:use_cp] content_view = content_view_environment.content_view plan_action(Candlepin::Environment::Create, organization_label: content_view.organization.label, cp_id: content_view_environment.cp_id, name: content_view_environment.label, description: content_view.description) end end def humanized_name _("Create") end end end end end
Version data entries
147 entries across 147 versions & 1 rubygems