Skip to content

Commit

Permalink
Shorten class to appease Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
LaRita Robinson committed Nov 14, 2023
1 parent 6c7f1ee commit 3ded9fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/concerns/iiif_print/set_child_flag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module RDF
class CustomIsChildTerm < Vocabulary('http://id.loc.gov/vocabulary/identifiers/')
property 'is_child'
end
class SplitFromPdfIdTerm < Vocabulary('http://id.loc.gov/vocabulary/identifiers/')
class FromPdfIdTerm < Vocabulary('http://id.loc.gov/vocabulary/identifiers/')
property 'split_from_pdf_id'
end
end
Expand All @@ -22,7 +22,7 @@ module SetChildFlag
index.as :stored_searchable
end
property :split_from_pdf_id,
predicate: ::RDF::SplitFromPdfIdTerm.split_from_pdf_id,
predicate: ::RDF::FromPdfIdTerm.split_from_pdf_id,
multiple: false do |index|
index.as :stored_searchable
end
Expand Down

0 comments on commit 3ded9fb

Please sign in to comment.