Sha256: dcf9eaa528be46c79406b73478eb7cacb2f0d588f388e66e38c04b1a1f45823f
Contents?: true
Size: 606 Bytes
Versions: 7
Compression:
Stored size: 606 Bytes
Contents
module Katello class Api::V2::UebercertsController < Api::V2::ApiController before_action :find_organization, :only => [:show] resource_description do api_version 'v2' api_base_url "/katello/api" end api :GET, "/organizations/:organization_id/uebercert", N_("Show an ueber certificate for an organization") param :regenerate, :bool, :desc => N_("When set to 'True' certificate will be re-issued") def show @organization.generate_debug_cert if (params[:regenerate] || '').downcase == 'true' respond :resource => @organization.debug_cert end end end
Version data entries
7 entries across 7 versions & 1 rubygems