class Brium::Entry
- Brium::Entry
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
brium/entry.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #billable_status : String | Nil
- #billable_status=(billable_status : String | Nil)
- #client_id : Int64 | Nil
- #client_id=(client_id : Int64 | Nil)
-
#hash(hasher)
See
Object#hash(hasher)
- #hours : Float64
- #hours=(hours : Float64)
- #id : Int64
- #id=(id : Int64)
- #keyword
- #project_id : Int64 | Nil
- #project_id=(project_id : Int64 | Nil)
- #record : String
- #record=(record : String)
- #worked_at : Time
- #worked_at=(worked_at : Time)
- #worker_id : Int64
- #worker_id=(worker_id : Int64)
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)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.