Module: Shared::Confidences

Extended by:
ActiveSupport::Concern
Included in:
AssertedDistribution, BiologicalAssociation, CharacterState, CollectingEvent, CollectionObject, Content, Descriptor, Observation, Otu, Sequence, TaxonDetermination, TaxonName
Defined in:
app/models/concerns/shared/confidences.rb

Overview

Shared code for apply user assertions of Confidence to data.

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary (collapse)

Instance Method Details

- (Object) reject_confidences(attributed)



38
39
40
# File 'app/models/concerns/shared/confidences.rb', line 38

def reject_confidences(attributed)
  attributed['confidence_level_id'].blank?
end