private def getContentApiId()

in notification/app/notification/services/ArticlePurge.scala [9:19]


  private def getContentApiId(notification: Notification): Option[String] = {
    def linkToContentApiId(link: Link): Option[String] = link match {
      case Internal(contentApiId, _, GITContent, _) => Some(contentApiId)
      case _ => None
    }

    notification match {
      case breaking: BreakingNewsNotification => linkToContentApiId(breaking.link)
      case _ => None
    }
  }