R/synapseVersionsServiceEndpoint.R

## set and get the Synapse Versions service endpoint
## 
## Author: Bruce Hoff
###############################################################################

synapseVersionsServiceEndpoint <- 
  function(endpoint)
{
  if (!missing(endpoint)) {
    .setCache("versionsServiceEndpoint", endpoint)
  } else {
    return(.getCache("versionsServiceEndpoint"))
  }
}

.getVersionsEndpoint <- function() {
  .getCache("versionsServiceEndpoint")	
}
Sage-Bionetworks/rSynapseClient documentation built on May 9, 2019, 7:04 p.m.