class Task

Included Modules

Defined in:

models/task.cr:1
models/task.cr:3

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.last_updated_at #

[View source]

Instance Method Detail

def billable_by_default : Bool #

[View source]
def billable_by_default=(billable_by_default : Bool) #

[View source]
def created_at : Time #

[View source]
def created_at=(created_at : Time) #

[View source]
def id : Int64 | Nil #

[View source]
def id! : Int64 #

[View source]
def id=(id : Int64 | Nil) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def set_timestamps(*, to time = Time.local(Granite.settings.default_timezone), mode = :create) #

Override Granites created_at/updated_at handling.


[View source]
def updated_at : Time #

[View source]
def updated_at=(updated_at : Time) #

[View source]