Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Task
Inherits
Reference
<
Object
Constructors
new
(title :
String
, description :
String
|
Nil
= nil, completed :
Bool
= false, id :
Int64
|
Nil
= nil, created_at :
Time
|
Nil
= nil)
Source
Class methods
all
Source
find
(id :
Int64
)
Source
Instance methods
completed
Source
completed=
(completed :
Bool
)
Source
created_at
Source
created_at=
(created_at :
Time
|
Nil
)
Source
delete
Source
description
Source
description=
(description :
String
|
Nil
)
Source
id
Source
id=
(id :
Int64
|
Nil
)
Source
save
Source
title
Source
title=
(title :
String
)
Source
to_json
(json :
JSON::Builder
)
Source