Created
October 25, 2015 09:10
-
-
Save s4cha/10706019e1b8cefcb9fc 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
extension Customer:RestResource { static func restName() -> String { return "customers" } } | |
extension Product:RestResource { static func restName() -> String { return "products" } } | |
extension Order:RestResource { static func restName() -> String { return "orders" } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment