Liking cljdoc? Tell your friends :D

com.yetanalytics.persephone.template.statement-ref


profile->id-template-mapclj/s

(profile->id-template-map profile
                          &
                          {:keys [validate-profile?]
                           :or {validate-profile? true}})

Takes profile and returns a map between Statement Template IDs and the Templates themselves. Used for Statement Ref Template resolution.

:validate-profile? is default true. If true, profile->validator checks that profile conforms to the xAPI Profile spec.

Takes `profile` and returns a map between Statement Template IDs
and the Templates themselves. Used for Statement Ref Template
resolution.

`:validate-profile?` is default `true`. If `true`, `profile->validator`
checks that `profile` conforms to the xAPI Profile spec.
sourceraw docstring

statement-batch->id-statement-mapclj/s

(statement-batch->id-statement-map statement-batch)

Takes the coll statement-batch and returns a map between Statement IDs and the Statement themselves. Used for Statement Ref resolution, particularly in statement batch matching.

Takes the coll `statement-batch` and returns a map between
Statement IDs and the Statement themselves. Used for Statement
Ref resolution, particularly in statement batch matching.
sourceraw docstring

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

× close