struct DppmRestApi::Config
- DppmRestApi::Config
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
config.crconfig/helpers.cr
Constant Summary
-
DEFAULT_DATA_DIR =
"./data/"
Constructors
Instance Method Summary
- #file_path : Path
- #file_path=(file_path : Path)
- #find_and_authenticate!(body) : Config::User?
- #group_view(user : User) : GroupView
- #groups : Array(Group)
- #groups=(groups : Array(Group))
-
#sync_to_disk : Nil
Saves the configuration to a file at
filepath
. - #to_json(io : IO, *, indent : String | Int32? = nil)
- #users : Array(User)
- #users=(users : Array(User))