struct TandaCLI::API::Resources::ClockIns

Defined in:

tanda_cli/api/resources/clock_ins.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(request : Request) #

[View source]

Instance Method Detail

def create(user_id : Int32, time : Time, type : String, photo : String | Nil = nil, mobile_clockin : Bool = false) : Result(Nil) #

[View source]
def list(user_id : Int32, date : Time) : Result(Array(Types::ClockIn)) #

[View source]