Module: Aliquot::DeprecatedBehaviours::Request

Included in:
Request
Defined in:
app/models/aliquot/deprecated_behaviours.rb

Instance Method Summary collapse

Instance Method Details

#tagObject

tags and tag have been moved to the appropriate assets. I don’t think that they are used anywhere else apart

from the batch xml and can therefore probably be removed.

Nope, they are used all over the place.



18
19
20
# File 'app/models/aliquot/deprecated_behaviours.rb', line 18

def tag
  target_asset.primary_aliquot.try(:tag)
end

#tag_numberObject



6
7
8
# File 'app/models/aliquot/deprecated_behaviours.rb', line 6

def tag_number
  tag.try(:map_id) || ''
end