class Fedora::Repository
def connection(refresh = false)
The +refresh+ parameter toggles whether or not the connection is refreshed at every request
Low level access to the remote fedora server
def connection(refresh = false) if refresh || @connection.nil? @connection = Fedora::Connection.new(@fedora_url, Fedora::XmlFormat, @surrogate) end @connection end