europeana/europeana-blacklight

View on GitHub
lib/europeana/blacklight/response/more_like_this.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Europeana
  module Blacklight
    class Response
      ##
      # MLT for{Europeana::Blacklight::Response}
      #
      # This will just return blank objects from the MLT methods BL expects.
      module MoreLikeThis
        def more_like(_document)
          []
        end

        def more_like_this
          {}
        end
      end
    end
  end
end