NAME
Dancer::Plugin::PageHistory::Page - Page object for Dancer::Plugin::PageHistory
ATTRBIUTES
attributes
Extra attributes as a hash refence, e.g.: SKU for a product page.
path
Absolute path of the page. This is the only required attribute.
query
Query parameters as a hash reference.
title
Page title.
METHODS
predicates
The following predicate methods are defined:
has_attributes
has_title
uri
Returns the string URI for "path" and "query".
STORABLE_freeze
Convert to non-obj for Storable serialisation.
STORABLE_thaw
Thaw from Storable.
TO_JSON
Convert to non-obj for JSON serialisation.
to_hashref
Convert to hash reference for use by other serializer methods.