Skip to content

Instantly share code, notes, and snippets.

@stasimus
Last active August 7, 2018 13:21
def stepProcess(in: Any): Any = {
in match {
case shipment: ShipmentsRequest => ShipmentsResponse.generate()
case track : TrackRequest => TrackResponse.generate()
case pricing : PricingRequest => PricingResponse.generate()
case Ping => Pong
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment