Class: Adhoq::ExecutionsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Adhoq::ExecutionsController
- Defined in:
- app/controllers/adhoq/executions_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#create ⇒ Object
9 10 11 |
# File 'app/controllers/adhoq/executions_controller.rb', line 9 def create async_execution? ? asynced_create : synced_create end |
#show ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/adhoq/executions_controller.rb', line 3 def show @execution = current_query.executions.where(id: params[:id], report_format: params[:format]).first! respond_report(@execution.report) end |