UriTemplate.Expression

Represents an URI template expression (the bits surrounded in curly braces).

Summary

expand(expression, vars)

Returns the expanded expression as a string

from_string(expr_str)

Returns a parsed expression that can be expanded using the expand/2 function

Functions

expand(expression, vars)

Returns the expanded expression as a string.

from_string(expr_str)

Returns a parsed expression that can be expanded using the expand/2 function.