From ede3bbe2684a58313f8d9dc4d386731753444f4a Mon Sep 17 00:00:00 2001 From: daveminer Date: Tue, 31 Oct 2023 21:59:03 -0400 Subject: [PATCH] moduledocs for pow --- lib/basket/users/user.ex | 2 ++ lib/basket_web/mails/pow/mailer.ex | 4 ++++ lib/basket_web/mails/pow_email_confirmation_mail.ex | 2 ++ lib/basket_web/mails/pow_invitation_mail.ex | 2 ++ lib/basket_web/mails/pow_reset_password_mail.ex | 2 ++ 5 files changed, 12 insertions(+) diff --git a/lib/basket/users/user.ex b/lib/basket/users/user.ex index 2d15b34..114c862 100644 --- a/lib/basket/users/user.ex +++ b/lib/basket/users/user.ex @@ -1,4 +1,6 @@ defmodule Basket.Users.User do + @moduledoc false + use Ecto.Schema use Pow.Ecto.Schema diff --git a/lib/basket_web/mails/pow/mailer.ex b/lib/basket_web/mails/pow/mailer.ex index e08bddd..3ca4888 100644 --- a/lib/basket_web/mails/pow/mailer.ex +++ b/lib/basket_web/mails/pow/mailer.ex @@ -1,4 +1,8 @@ defmodule MyAppWeb.Pow.Mailer do + @moduledoc """ + Stub mailer implementation for initial Pow config + """ + use Pow.Phoenix.Mailer require Logger diff --git a/lib/basket_web/mails/pow_email_confirmation_mail.ex b/lib/basket_web/mails/pow_email_confirmation_mail.ex index 8d3f32f..10663fd 100644 --- a/lib/basket_web/mails/pow_email_confirmation_mail.ex +++ b/lib/basket_web/mails/pow_email_confirmation_mail.ex @@ -1,4 +1,6 @@ defmodule BasketWeb.PowEmailConfirmationMail do + @moduledoc false + use BasketWeb, :mail def email_confirmation(assigns) do diff --git a/lib/basket_web/mails/pow_invitation_mail.ex b/lib/basket_web/mails/pow_invitation_mail.ex index 8dd3ab1..bb39415 100644 --- a/lib/basket_web/mails/pow_invitation_mail.ex +++ b/lib/basket_web/mails/pow_invitation_mail.ex @@ -1,4 +1,6 @@ defmodule BasketWeb.PowInvitationMail do + @moduledoc false + use BasketWeb, :mail def invitation(assigns) do diff --git a/lib/basket_web/mails/pow_reset_password_mail.ex b/lib/basket_web/mails/pow_reset_password_mail.ex index 5fc2dde..e53330c 100644 --- a/lib/basket_web/mails/pow_reset_password_mail.ex +++ b/lib/basket_web/mails/pow_reset_password_mail.ex @@ -1,4 +1,6 @@ defmodule BasketWeb.PowResetPasswordMail do + @moduledoc false + use BasketWeb, :mail def reset_password(assigns) do