Class: UatActions::IntegrationSuiteTools

Inherits:
UatActions
  • Object
show all
Defined in:
app/uat_actions/uat_actions/integration_suite_tools.rb

Overview

Will construct plates with well_count wells filled with samples

Constant Summary

Constants inherited from UatActions

CATEGORY_LIST

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from UatActions

all, category, find, form_field, form_fields, #form_fields, grouped_and_sorted_uat_actions, id, inherited, permitted, #report, #save, to_partial_path, uat_actions

Class Method Details

.defaultObject

Form fields We don’t actually have any fields



18
19
20
# File 'app/uat_actions/uat_actions/integration_suite_tools.rb', line 18

def self.default
  new
end

Instance Method Details

#performtrue

Generates static records, and returns useful information about them

Returns:

  • (true)

    The records have been found or created. Under normal circumstances this action should never fail



26
27
28
29
30
# File 'app/uat_actions/uat_actions/integration_suite_tools.rb', line 26

def perform
  report[:user_login] = user.
  report[:user_swipecard] = UatActions::StaticRecords::SWIPECARD_CODE
  true
end