Class: UatActions::IntergrationSuiteTools

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

Overview

Will construct plates with well_count wells filled with samples

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from UatActions

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

Class Method Details

.defaultObject

Form fields We don't actually have any fields


12
13
14
# File 'app/uat_actions/uat_actions/intergration_suite_tools.rb', line 12

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


20
21
22
23
24
# File 'app/uat_actions/uat_actions/intergration_suite_tools.rb', line 20

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