class Project

Included Modules

Defined in:

models/project.cr:1
models/project.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 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 is_active : Bool #

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

[View source]
def is_billable : Bool #

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

[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]