def apply()

in api/src/main/scala/com/gu/adapters/config/Config.scala [29:39]


  def apply(conf: TypesafeConfig): Config =
    Config(
      avatarServletProperties(conf),
      storeProperties(conf),
      deletionEventsProps(conf),
      IdentityConfig.fromTypesafeConfig(conf)
    )

  private def deletionEventsProps(conf: TypesafeConfig): SqsDeletionConsumerProps = {
    SqsDeletionConsumerProps(conf.getString("aws.sqs.deleted.url"), conf.getString("aws.region"))
  }