class Brium::Holiday

Included Modules

Defined in:

brium/holiday.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(id : Int, worker_id = nil, kind : String = "vacations", from : Time = Time.local, to : Time = Time.local, description : Nil | String = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def description : String | Nil #

[View source]
def description=(description : String | Nil) #

[View source]
def from : Time #

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

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def id : Int64 #

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

[View source]
def kind : String #

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

[View source]
def to : Time #

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

[View source]
def worker_id : Int64 | Nil #

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

[View source]