Configuration <- setRefClass(
Class = 'Configuration',
fields = list(
api_root = 'character',
api_version = 'character'
),
methods = list(
endpoint = function() {
str_c(api_root, api_version, '/')
}
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.