Skip to content

Commit

Permalink
Add FileMetadata.to_rdf_representation matching recent Resource change
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpierce authored and jeremyf committed Jan 30, 2024
1 parent d31b5d8 commit f19f7ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/models/hyrax/file_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ def uri_for(use:) # rubocop:disable Metrics/MethodLength
# attributes set by fits for video
attribute :aspect_ratio, ::Valkyrie::Types::Set

class << self
##
# @return [String]
def to_rdf_representation
name
end
end

##
# @return [Boolean]
def original_file?
Expand Down

0 comments on commit f19f7ed

Please sign in to comment.