struct PlaceOS::Model::Version
- PlaceOS::Model::Version
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
placeos-models/version.crConstructors
- .new(service : String, commit : String, version : String, build_time : String, platform_version : String = {{ (env("PLACE_VERSION")) || "DEV" }})
- .new(pull : JSON::PullParser)
Instance Method Summary
- #build_time : String
- #clone
- #commit : String
- #copy_with(service _service = @service, commit _commit = @commit, version _version = @version, build_time _build_time = @build_time, platform_version _platform_version = @platform_version)
- #platform_version : String
- #service : String
- #version : String
Constructor Detail
def self.new(service : String, commit : String, version : String, build_time : String, platform_version : String = {{ (env("PLACE_VERSION")) || "DEV" }})
#
Instance Method Detail
def copy_with(service _service = @service, commit _commit = @commit, version _version = @version, build_time _build_time = @build_time, platform_version _platform_version = @platform_version)
#