protected def getMostViewedVideoBySection()

in src/main/scala/com/gu/contentapi/mostviewedvideo/OphanStore.scala [18:21]


  protected def getMostViewedVideoBySection(edition: Option[String], config: Config): Either[CustomError, List[MostViewedVideoContainerThrift]] = {
    val url = buildUrl("/api/video/mostviewed/sections", edition, config)
    requestMostViewed(url, edition, config) flatMap (extractMostViewedVideoBySection(_, edition))
  }