Sha256: 46ac5c08b17d709ac571928db952b4424a07c8ca60524091d1a96edfe893ea91
Contents?: true
Size: 429 Bytes
Versions: 9
Compression:
Stored size: 429 Bytes
Contents
module Actions module Pulp module Consumer class Create < Pulp::Abstract include Helpers::Presenter input_format do param :uuid, String param :name, String end def run response = pulp_extensions.consumer.create(input[:uuid], display_name: input[:name]) output[:response] = response.slice(:uuid, :name) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems