feat: add initializer for root_config with version and filesystems parameters
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f383694870
commit
16b81ed038
1 changed files with 7 additions and 0 deletions
|
@ -36,5 +36,12 @@ module GX::Models
|
||||||
|
|
||||||
@[YAML::Field(key: "filesystems")]
|
@[YAML::Field(key: "filesystems")]
|
||||||
getter filesystems : Array(AbstractFilesystemConfig)
|
getter filesystems : Array(AbstractFilesystemConfig)
|
||||||
|
setter filesystems
|
||||||
|
|
||||||
|
def initialize(version = "1.0.0", global = GlobalConfig.new, filesystems = [] of AbstractFilesystemConfig)
|
||||||
|
@version = version
|
||||||
|
@global = global
|
||||||
|
@filesystems = filesystems
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue