Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ecmo
v0.11.0
App
Application
Assets
Boot
Command
Dashboard
Disk
Gauges
Home
Host
Init
InitProvider
InvalidUserParamsError
Job
Jobs
Level
Load
Memory
Metrics
Net
Openrc
Partition
Pid
Run
Runit
Schedule
Sequence
Service
Sessions
SessionUtils
Storage
Systemd
User
UserAuthenticationError
UserError
UserNotFoundError
Built with Crystal 1.9.2
2023-10-08 13:25:57 UTC
class
Boot
Boot
Granite::Base
Reference
Object
Included Modules
JSON::Serializable
YAML::Serializable
Defined in:
models/boot.cr:1
models/boot.cr:3
Constructors
.new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
.new
(pull : JSON::PullParser)
Class Method Summary
.adapter
: Granite::Adapter::Base
Instance Method Summary
#id
: Int64 | Nil
#id!
: Int64
#id=
(id : Int64 | Nil)
#seconds
: Int64
#seconds=
(seconds : Int64)
Constructor Detail
def self.
new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
def self.
new
(pull : JSON::PullParser)
#
Class Method Detail
def self.
adapter
: Granite::Adapter::Base
#
Instance Method Detail
def
id
: Int64 | Nil
#
[
View source
]
def
id!
: Int64
#
[
View source
]
def
id=
(id : Int64 | Nil)
#
[
View source
]
def
seconds
: Int64
#
[
View source
]
def
seconds=
(seconds : Int64)
#
[
View source
]