def apply()

in common-lib/src/main/scala/com/gu/workflow/util/Stage.scala [20:25]


  def apply(value: String): Stage = value.toUpperCase match {
    case "PROD" => Prod
    case "CODE" => Code
    case "DEV" => Dev
    case other => throw new IllegalStateException(s"invalid stage: $other")
  }