Sha256: 5fae51f50377f8e93d2e07b2183ab6fd13857420d3fe429767dca9dee944831d
Contents?: true
Size: 428 Bytes
Versions: 145
Compression:
Stored size: 428 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
145 entries across 145 versions & 1 rubygems