class

Marten::Conf::GlobalSettings::MediaFiles

Inherits Reference / Object

Allows to configure media files-related settings.

Instance methods

root

Returns the absolute path where media files will be persisted.

Source
root=(dir : Path | String | Symbol | Nil)

Allows to set the absolute path where collected media fiels will be persisted.

Source
storage

Returns the ID of the storage used to collect and persist media files.

Source
storage=(storage : Core::Storage::Base | Nil)

Allows to set the the storage used to collect and persist media files.

Source
url

Returns the base URL to use when exposing media file URLs.

Source
url=(url : String)

Allows to set the base URL to use when exposing media file URLs.

Source