Class: Identifier::Global::Uuid::InaturalistObservation
- Inherits:
-
Identifier::Global::Uuid
- Object
- Identifier
- Identifier::Global
- Identifier::Global::Uuid
- Identifier::Global::Uuid::InaturalistObservation
- Defined in:
- app/models/identifier/global/uuid/inaturalist_observation.rb
Constant Summary
Constants included from SoftValidation
SoftValidation::ANCESTORS_WITH_SOFT_VALIDATIONS
Instance Attribute Summary
Attributes inherited from Identifier::Global::Uuid
Attributes inherited from Identifier::Global
Instance Method Summary collapse
Methods inherited from Identifier::Global::Uuid
#generate_uuid, #using_uuid_class
Methods inherited from Identifier::Global
#build_cached, #dwc_occurrences, #is_global?, #sv_resolves?
Methods included from SoftValidation
#clear_soft_validations, #fix_for, #fix_soft_validations, #soft_fixed?, #soft_valid?, #soft_validate, #soft_validated?, #soft_validations, #soft_validators
Instance Method Details
#object_is_field_occurrence ⇒ Object (private)
6 7 8 |
# File 'app/models/identifier/global/uuid/inaturalist_observation.rb', line 6 def object_is_field_occurrence errors.add(:identifier_object, 'must be a FieldOccurrence') unless identifier_object.is_a?(FieldOccurrence) end |