Zodish.Type.URI (zodish v0.2.4)

View Source

Summary

Types

t()

@type t() :: %Zodish.Type.URI{
  schemes: [String.t()],
  trailing_slash: :keep | :trim | :enforce
}

Functions

format_trailing_slash(type, value)

new(opts \\ [])

Creates a new URI (string) type.

schemes(type, schemes)