Class: TagGroupsTask

Inherits:
Task show all
Defined in:
app/models/tag_groups_task.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Methods inherited from Task

#can_link_directly?, #can_process?, #find_batch, #find_batch_requests, #included_for_do_task, #included_for_render_task

Methods inherited from ApplicationRecord

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Instance Method Details

#do_task(_workflow, _params, _user) ⇒ Object


12
13
14
# File 'app/models/tag_groups_task.rb', line 12

def do_task(_workflow, _params, _user)
  true
end

#partialObject


3
4
5
# File 'app/models/tag_groups_task.rb', line 3

def partial
  'tag_groups_batches'
end

#render_task(workflow, params, _user) ⇒ Object


7
8
9
10
# File 'app/models/tag_groups_task.rb', line 7

def render_task(workflow, params, _user)
  super
  workflow.render_tag_groups_task(self, params)
end