Class: Well::AttributeUpdater::Rin

Inherits:
Base
  • Object
show all
Defined in:
app/models/well/attribute_updater.rb

Overview

Update the RIN. Note: Rin is actually unitless, the specified units here maintains compatibility with other QC systems.

Instance Attribute Summary

Attributes inherited from Base

#qc_result, #well

Instance Method Summary collapse

Methods inherited from Base

#initialize, #original_value, #resource, #target_value

Constructor Details

This class inherits a constructor from Well::AttributeUpdater::Base

Instance Method Details

#updateObject


77
78
79
# File 'app/models/well/attribute_updater.rb', line 77

def update
  well.well_attribute.update!(rin: target_value)
end