Last active
April 18, 2019 22:43
-
-
Save RinniSwift/b298d32157792a977b0e3185f04ff651 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
ServiceLayer.request(router: Router.getProductInfo) { (result: Result<[String : [CollectionItem]], Error>) in | |
switch result { | |
case .success: | |
print(result) | |
case .failure: | |
print(result) | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment