Class: Hyrax::Work

Inherits:
Resource
  • Object
show all
Defined in:
app/models/hyrax/work.rb

Overview

Valkyrie model for `Work` domain objects in the Hydra Works model.

Instance Method Summary collapse

Methods inherited from Resource

#collection?, #file?, #file_set?, human_readable_type, #permission_manager, #visibility, #visibility=

Methods included from WithEvents

#event_class, #events, #log_event, #stream

Instance Method Details

#pcdm_object?Boolean

Returns true.

Returns:

  • (Boolean)

    true


22
23
24
# File 'app/models/hyrax/work.rb', line 22

def pcdm_object?
  true
end

#work?Boolean

Returns true.

Returns:

  • (Boolean)

    true


28
29
30
# File 'app/models/hyrax/work.rb', line 28

def work?
  true
end