Last active
August 31, 2016 21:32
-
-
Save rlam3/5392927b462e3986fff58c15eb9f704f 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
let endpoint = Endpoint<ApiRouter>( | |
URL: target.baseURL.URLByAppendingPathComponent(target.path).absoluteString, | |
sampleResponseClosure: EndpointSampleResponse.NetworkResponse(200, NSData()), /// ERROR HERE .SUCCESS does not exists | |
method: target.method, | |
parameters: target.parameters, | |
parameterEncoding: self.parameterEncoding(target), | |
httpHeaderFields: [:] | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment