Packages

SAML metadata parsing extension for Smee

Current section

Files

Jump to
smee_view lib smee_view aspects organization_displayname.ex
Raw

lib/smee_view/aspects/organization_displayname.ex

defmodule SmeeView.Aspects.OrganizationDisplayname do
@moduledoc """
Represents and processes <OrganizationDisplayName> elements in entity metadata as Aspect structs.
The functions in this module are intended to be applied to individual Aspect structs - for extracting and processing
collections of these records please use the matching View module.
"""
@type t :: %__MODULE__{
lang: binary(),
text: binary()
}
@derive Jason.Encoder
defstruct [
lang: "en",
text: nil
]
use SmeeView.Aspects.AspectCommon, features: [:lang, :text]
#######################################################################################
end