app/controllers/api/tasks_controller.rb
Showing 1 of 1 total issue
Method render_task_results_entity
has a Cognitive Complexity of 12 (exceeds 11 allowed). Consider refactoring. Open
Open
def render_task_results_entity id = params[:c_id] task = find_resource(collection_class(:tasks), :id, id) raise "Missing context_data in #{task_ident(task)}" if task.context_data.blank?
- Read upRead up
- Create a ticketCreate a ticket