Liking cljdoc? Tell your friends :D

halboy.resource


add-hrefclj

source

add-hrefsclj

source

(add-link resource rel m)

Adds a link to a resource. If the rel is already present, the values will form a vector.

Adds a link to a resource. If the rel is already present,
the values will form a vector.
sourceraw docstring

(add-links resource & args)

Adds each rel->link to the resource

Adds each rel->link to the resource
sourceraw docstring

add-propertiesclj

(add-properties resource & args)

Takes a map, or key->value pairs. It adds each key->value pair to the resource. If the key is already present, it will be overwritten.

Takes a map, or key->value pairs. It adds each key->value pair to the
resource. If the key is already present, it will be overwritten.
sourceraw docstring

add-propertyclj

(add-property resource rel r)

Adds a new property to the resource. If the key is already present, it will be overwritten.

Adds a new property to the resource. If the key is already
present, it will be overwritten.
sourceraw docstring

add-resourceclj

(add-resource resource key r)

Adds an embedded resource to the resource. If the key is already present, the values will form a vector.

Adds an embedded resource to the resource. If the key is
already present, the values will form a vector.
sourceraw docstring

add-resourcesclj

(add-resources resource & args)

Adds each key->resource pair to the resource. If the same key is used, the values will form a vector.

Adds each key->resource pair to the resource. If the same key
is used, the values will form a vector.
sourceraw docstring

get-hrefclj

(get-href resource key)

Gets a href within a resource

Gets a href within a resource
sourceraw docstring

get-in-propertiesclj

(get-in-properties resource keys)

Navigates through the keys in properties

Navigates through the keys in properties
sourceraw docstring

(get-link resource key)

Gets a link from a resource

Gets a link from a resource
sourceraw docstring

get-propertyclj

(get-property resource key)

Gets an property from a resource

Gets an property from a resource
sourceraw docstring

get-resourceclj

(get-resource resource key)

Gets an embedded resource from a resource

Gets an embedded resource from a resource
sourceraw docstring

(links resource)

Gets a map of all the links in the resource

Gets a map of all the links in the resource
sourceraw docstring

new-resourceclj

(new-resource)
(new-resource self)

Creates a new HAL resource

Creates a new HAL resource
sourceraw docstring

propertiesclj

(properties resource)

Gets all the properties from a resource as a map

Gets all the properties from a resource as a map
sourceraw docstring

resourcesclj

(resources resource)

Gets all the embedded resources as a map

Gets all the embedded resources as a map
sourceraw docstring

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

× close