module PlaceOS::Model::Utilities::SettingsHelper

Direct including types

Defined in:

placeos-models/utilities/settings_helper.cr

Instance Method Summary

Instance Method Detail

def all_settings : Hash(YAML::Any, YAML::Any) #

Decrypts and merges all settings for the model

Lower privilged settings are favoured during the merge process.


def settings : Array(Settings) #

Query the master settings attached to a model


def settings_at(encryption_level : Encryption::Level) #

Get the settings at a particular encryption level


def settings_at?(encryption_level : Encryption::Level) #

Get the settings at a particular encryption level


abstract def settings_hierarchy : Array(Settings) #

def settings_json : String #

Decrypted JSON object for configuring drivers