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

#find_batch, #find_batch_requests, #get_descriptor_value, get_subclass_attribute_options, #get_subclass_attribute_options, #get_subclass_attribute_value, get_subclass_attributes, #get_subclass_attributes, #included_for_do_task, #included_for_render_task, init_class, #set_descriptor_value, set_subclass_attribute, #set_subclass_attribute_value, #sub_events_for

Methods inherited from ApplicationRecord

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#do_task(_workflow, _params) ⇒ Object


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

def do_task(_workflow, _params)
  true
end

#partialObject


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

def partial
  'tag_groups_batches'
end

#render_task(workflow, params) ⇒ Object


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

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