R/classes.R

Defines functions responseList

#' Response Json
#' @rdname responseList
#' @importFrom yaml as.yaml
#' @importFrom methods new
#' @export
setClass("responseList", contains = "list")

responseList <- function(res){
    new("responseList", res)
}

setMethod("show", "responseList", function(object){
    cat(as.yaml(object))
})
rworkflow/CGClient documentation built on Dec. 22, 2021, 8:16 p.m.