From: Christopher Date: Tue, 18 Feb 2020 21:19:40 +0000 (-0600) Subject: add type specs to realm struct X-Git-Url: http://git.entropealabs.com/?a=commitdiff_plain;h=d4ea14ca312d290a5db95770996c3d56b9b66add;p=wampex.git add type specs to realm struct --- diff --git a/lib/wampex/realm.ex b/lib/wampex/realm.ex index a39a4b7..5de5b8b 100644 --- a/lib/wampex/realm.ex +++ b/lib/wampex/realm.ex @@ -3,5 +3,8 @@ defmodule Wampex.Realm do defstruct [:name, :authentication] - @type t :: %__MODULE__{} + @type t :: %__MODULE__{ + name: binary(), + authentication: nil + } end