Liking cljdoc? Tell your friends :D

halboy.resource


add-hrefclj


add-hrefsclj


(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.
raw docstring

(add-links resource & args)

Adds each rel->link to the resource

Adds each rel->link to the resource
raw 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.
raw 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.
raw 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.
raw 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.
raw docstring

get-hrefclj

(get-href resource key)

Gets a href within a resource

Gets a href within a resource
raw docstring

get-in-propertiesclj

(get-in-properties resource keys)

Navigates through the keys in properties

Navigates through the keys in properties
raw docstring

(get-link resource key)

Gets a link from a resource

Gets a link from a resource
raw docstring

get-propertyclj

(get-property resource key)

Gets an property from a resource

Gets an property from a resource
raw docstring

get-resourceclj

(get-resource resource key)

Gets an embedded resource from a resource

Gets an embedded resource from a resource
raw docstring

(links resource)

Gets a map of all the links in the resource

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

new-resourceclj

(new-resource)
(new-resource self)

Creates a new HAL resource

Creates a new HAL resource
raw docstring

propertiesclj

(properties resource)

Gets all the properties from a resource as a map

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

Resourceclj


resourcesclj

(resources resource)

Gets all the embedded resources as a map

Gets all the embedded resources as a map
raw docstring

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

× close