Last active
May 28, 2016 09:20
-
-
Save nunogoncalves/56fd7c0289ca89603b134740bbda2cfe 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 Users { | |
class Getter : Requestable, WebGetter, Authenticable, EmptyBody, UrlEncodable, Deserializable { | |
var deserializer = Deserialize.UserDeserializer() | |
var url = "https://..." | |
func getUserDetails(success success: User -> (), failure: ApiResponse -> ()) { | |
call(success: success, failure: failure) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment