class Brium::Entry

Included Modules

Defined in:

brium/entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int, worker_id : Int, record : String, worked_at : Time, hours : Float64, client_id : Int64 | Nil = nil, project_id : Int64 | Nil = nil, billable_status : Nil | String = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[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 billable_status : String | Nil #

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

[View source]
def client_id : Int64 | Nil #

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

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

See Object#hash(hasher)


def hours : Float64 #

[View source]
def hours=(hours : Float64) #

[View source]
def id : Int64 #

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

[View source]
def keyword #

[View source]
def project_id : Int64 | Nil #

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

[View source]
def record : String #

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

[View source]
def worked_at : Time #

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

[View source]
def worker_id : Int64 #

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

[View source]