# frozen_string_literal: true

require_relative '../../puppet/indirector/terminus'

# An empty terminus type, meant to just return empty objects.
class Puppet::Indirector::Plain < Puppet::Indirector::Terminus
  # Just return nothing.
  def find(request)
    indirection.model.new(request.key)
  end
end
