Skip to contents

Environment

Environment

Details

An R6 class that represents a Content's Environment Variables

Super class

connectapi::Content -> Environment

Public fields

env_raw

The (raw) set of environment variables.

env_vars

The set of environment variables.

Methods

Inherited methods


Method new()

Initialize this set of environment variables.

Usage

Environment$new(connect, content)

Arguments

connect

The Connect instance.

content

The Content instance.


Method environment()

Fetch the set of environment variables.

Usage

Environment$environment()


Method environment_set()

Update the set of environment variables.

Usage

Environment$environment_set(...)

Arguments

...

Environment variable names and values.


Method environment_all()

Overwrite the set of environment variables.

Usage

Environment$environment_all(...)

Arguments

...

Environment variable names and values.


Method env_refresh()

Fetch the set o environment variables.

Usage

Environment$env_refresh()


Method print()

Print this object.

Usage

Environment$print(...)

Arguments

...

Unused.


Method clone()

The objects of this class are cloneable with this method.

Usage

Environment$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.