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



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

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