module DogBiscuits::PureSpecificBehaviour

Behaviour only used where data is being pulled in from the PURE CRIS system.

Public Instance Methods

add_pure_type() click to toggle source
# File lib/dog_biscuits/models/concerns/behaviours/pure_specific_behaviour.rb, line 11
def add_pure_type
  rdf_type << DogBiscuits::Vocab::PureTerms.Organisation unless pure_uuid.nil? && organisation?
  rdf_type << DogBiscuits::Vocab::PureTerms.Person unless pure_uuid.nil? && person?
end