Siren.Collection (siren v2.3.2)

View Source

Summary

Functions

action(action, class, base_url)

actions(class, opts)

add_last_link(links, base_href, items, page_items)

add_next_link(links, base_href, items, page, page_items)

add_prev_link(links, base_href, page)

add_self_link(links, base_href)

build(payload, opts)

change_page(base_href, new_page)

class(opts)

encode(payload, opts)

entities(payload, opts)

href(base_url, class, params)

links(class, opts)

properties(opts)

set_href_params(uri, params)

update_query(query, params)