Method: Rubydora::DigitalObject#profile

Defined in:
lib/rubydora/digital_object.rb

#profileHash

Retrieve the object profile as a hash (and cache it)

Returns:

  • (Hash)

    see Fedora #getObject documentation for keys



135
136
137
138
139
140
# File 'lib/rubydora/digital_object.rb', line 135

def profile
  @profile ||= begin
    @new = false
    repository.object_profile(pid, asOfDateTime)
  end.freeze
end