Created
July 13, 2016 20:54
-
-
Save pjazdzewski1990/c4008b3071fe9cd735749a8ce1696165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def descriptor(): Descriptor = | |
named("calculatorservice") | |
.`with`( | |
restCall( | |
Method.GET, | |
"/api/calculator/exchange?fromValue&fromUnit&toUnit", | |
calculate _ | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment