module PlaceOS::Model::Utilities::SettingsHelper
Direct including types
Defined in:
placeos-models/utilities/settings_helper.crInstance Method Summary
-
#all_settings : Hash(YAML::Any, YAML::Any)
Decrypts and merges all settings for the model
-
#settings : Array(Settings)
Query the master settings attached to a model
-
#settings_at(encryption_level : Encryption::Level)
Get the settings at a particular encryption level
-
#settings_at?(encryption_level : Encryption::Level)
Get the settings at a particular encryption level
- #settings_hierarchy : Array(Settings)
-
#settings_json : String
Decrypted JSON object for configuring drivers
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_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