class GdsApi::EmailAlertApi

def find_subscriber_by_govuk_account(govuk_account_id:)

Returns:
  • (Hash) - subscriber

Parameters:
  • govuk_account_id (String) -- An ID for the account.
def find_subscriber_by_govuk_account(govuk_account_id:)
  get_json(
    "#{endpoint}/subscribers/govuk-account/#{govuk_account_id}",
  )
end