Sha256: 1a0739fc2fa6a96d30ed8dff9d597dffabbb8532accebed9df48c46a1d7ca815
Contents?: true
Size: 618 Bytes
Versions: 22
Compression:
Stored size: 618 Bytes
Contents
module Actions module Candlepin module Environment class Create < Candlepin::Abstract input_format do param :organization_label param :cp_id param :name param :description end def run ::Katello::Resources::Candlepin::Environment.create(input['organization_label'], input['cp_id'], input['name'], input['description'].try(:truncate, 255)) end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems