Class: Katello::Api::V2::UebercertsController

Inherits:
ApiController
  • Object
show all
Defined in:
app/controllers/katello/api/v2/uebercerts_controller.rb

Instance Method Summary collapse

Methods inherited from ApiController

#full_result_response, #resource_class, #scoped_search

Methods included from Rendering

#respond_for_async, #respond_for_bulk_async, #respond_for_create, #respond_for_destroy, #respond_for_index, #respond_for_show, #respond_for_status, #respond_for_update, #respond_with_template, #respond_with_template_collection, #respond_with_template_resource, #try_specific_collection_template, #try_specific_resource_template

Methods included from Katello::Api::Version2

#api_version

Instance Method Details

#showObject



12
13
14
15
# File 'app/controllers/katello/api/v2/uebercerts_controller.rb', line 12

def show
  @organization.generate_debug_cert if (params[:regenerate] || '').downcase == 'true'
  respond :resource => @organization.debug_cert
end