Skip to content

Instantly share code, notes, and snippets.

@rlam3 rlam3/.swift
Last active Aug 31, 2016

What would you like to do?
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
You can’t perform that action at this time.