Class: Katello::Api::V2::SyncController

Inherits:
ApiController
  • Object
show all
Defined in:
app/controllers/katello/api/v2/sync_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

#indexObject



9
10
11
# File 'app/controllers/katello/api/v2/sync_controller.rb', line 9

def index
  respond_for_async(:resource => @obj.sync_status)
end