Class: Content::Api::RepositoriesController
- Inherits:
-
Api::V2::BaseController
- Object
- Api::V2::BaseController
- Content::Api::RepositoriesController
- Defined in:
- app/controllers/content/api/repositories_controller.rb
Instance Method Summary collapse
-
#events ⇒ Object
callback event from pulp upon tasks/events finished up.
Instance Method Details
#events ⇒ Object
callback event from pulp upon tasks/events finished up
9 10 11 12 13 14 |
# File 'app/controllers/content/api/repositories_controller.rb', line 9 def events repo_id = params['payload']['repo_id'] if params['payload'] render_error 'not_found', :status => :not_found and return false if repo_id.blank? Content::Pulp::EventHandler.new(repo_id, params) head :status => 202 end |