class Fedora::FedoraObject

def url

@returns the url of the object in Fedora, without the repository userinfo
def url
  repo_url = Fedora::Repository.instance.fedora_url
  return "#{repo_url.scheme}://#{repo_url.host}:#{repo_url.port}#{repo_url.path}/objects/#{pid}"
end