def handleRequest()

in src/main/scala/com/gu/invoicing/refund/Lambda.scala [44:51]


  def handleRequest(input: APIGatewayProxyRequestEvent, context: Context): APIGatewayProxyResponseEvent = {
    input.getBody
      .pipe { read[RefundInput](_) }
      .tap { info[RefundInput] }
      .pipe { program }
      .tap { info[RefundOutput] }
      .pipe { output => okResponse(write(output)) }
  }