Sha256: a5791d81b5815a615d48d0c312c5b989cc41f7e83a61d3e662b033a692e7584f

Contents?: true

Size: 389 Bytes

Versions: 20

Compression:

Stored size: 389 Bytes

Contents

module Hydra::ContentNegotiation
  # CleanGraphRepository has a #find interface which returns a graph for use
  # with content negotiation.
  class CleanGraphRepository
    attr_reader :connection
    def initialize(connection)
      @connection = connection
    end

    def find(id)
      ReplacingGraphFinder.new(
        GraphFinder.new(connection, id)
      ).graph
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
hydra-core-10.0.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-10.0.0.beta4 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-10.0.0.beta3 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-10.0.0.beta2 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-10.0.0.beta1 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.10.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.9.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.8.1 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.8.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.7.1 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.7.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.6.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.5.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.4.1 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.4.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.3.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.2.2 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.2.1 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.2.0 app/models/hydra/content_negotiation/clean_graph_repository.rb
hydra-core-9.2.0.rc1 app/models/hydra/content_negotiation/clean_graph_repository.rb