Last active
April 18, 2019 21:16
-
-
Save RinniSwift/987602ac3da95b1c9c7e255ada35f0ef 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
enum Router { | |
// ... | |
// 7. | |
var method: String { | |
switch self { | |
case .getSources, .getProductIds, .getProductInfo: | |
return "GET" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment