Sha256: ac334080d307b24e905823b9e7f10f98d4619311ff0bf4db4fa7ad2338d9047f

Contents?: true

Size: 307 Bytes

Versions: 2

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true

module DigitalScriptorium
  # Transformer for uniform title (P12) claims.
  class UniformTitleClaimTransformer < BaseClaimTransformer
    def initialize(claim, _, **kwargs)
      super(claim, **kwargs)
    end

    def search_values
      [claim.data_value]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
digital_scriptorium-0.2.1 lib/digital_scriptorium/transformers/uniform_title_claim_transformer.rb
digital_scriptorium-0.2.0 lib/digital_scriptorium/transformers/uniform_title_claim_transformer.rb