class API::Testing::ReportingRefreshController
Public Instance Methods
Source
# File app/controllers/api/testing/reporting_refresh_controller.rb, line 4 def create if params[:wait].present? ReportingAPI::RefreshJob.perform_now render status: :ok else ReportingAPI::RefreshJob.perform_later render status: :accepted end end