class ActiveFedora::InboundRelationConnection
Use this connection judiciously, on fedora 4.3, these requests may be 3-5x slower, and make a graph that takes longer to parse.
Public Instance Methods
get(*args) { |req| ... }
click to toggle source
# File lib/active_fedora/inbound_relation_connection.rb, line 5 def get(*args) result = __getobj__.get(*args) do |req| prefer_headers = Ldp::PreferHeaders.new(req.headers["Prefer"]) prefer_headers.include = prefer_headers.include | include_uris req.headers["Prefer"] = prefer_headers.to_s yield req if block_given? end result end
Private Instance Methods
include_uris()
click to toggle source
# File lib/active_fedora/inbound_relation_connection.rb, line 17 def include_uris [ ::RDF::Vocab::Fcrepo4.InboundReferences ] end