Liking cljdoc? Tell your friends :D

leave-balance-service.handler


-mainclj

(-main)
source

appclj

source

app-routesclj

source

calc-leaveclj

(calc-leave {:keys [body] :as request})

Calculate end of year leave/pto balance.

Calculate end of year leave/pto balance.
sourceraw docstring

configclj

Load server configuration from the environment.

Load server configuration from the environment.
sourceraw docstring

cur-bal-infoclj

(cur-bal-info leave-inputs)

Build a map of the current leave balance information.

Build a map of the current leave balance information.
sourceraw docstring

float-twoclj

(float-two x)

Format a two decimal precision floating point number.

Format a two decimal precision floating point number.
sourceraw docstring

healthclj

(health request)

Determine if application is running ok.

Determine if application is running ok.
sourceraw docstring

leave-infoclj

(leave-info {:keys [rate bal] :or {rate 4.0 bal 250.0}})

Build a map of leave inputs.

Build a map of leave inputs.
sourceraw docstring

leave-lostclj

(leave-lost {:keys [bal max-bal]} end-bal)

Calculate how much leave will be lost if none is taken.

Calculate how much leave will be lost if none is taken.
sourceraw docstring

new-leaveclj

(new-leave rate weeks-left)

Determine the new leave hours accrued.

Determine the new leave hours accrued.
sourceraw docstring

rec-leaveclj

(rec-leave {:keys [weeks-left-in-year]} lost-leave)

Recommended leave to take each week to avoid losing any.

Recommended leave to take each week to avoid losing any.
sourceraw docstring

show-configclj

(show-config request)

Show the service config settings.

Show the service config settings.
sourceraw docstring

show-helpclj

(show-help request)

Return a help string.

Return a help string.
sourceraw docstring

total-leaveclj

(total-leave {:keys [bal rate weeks-left-in-year]})

Total leave balance after new hours are accrued.

Total leave balance after new hours are accrued.
sourceraw docstring

versionclj

Project version.

Project version.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close