Skip to content

0.7.0

Compare
Choose a tag to compare
@ishkawa ishkawa released this 17 Apr 16:14
· 821 commits to master since this release
  • Swift 1.2 support
  • baseURL, requestBodyBuilder and ResponseBodyParser are changed to class var.
override class var baseURL: NSURL {
    return NSURL(string: "https://api.github.com")!
}

override class var requestBodyBuilder: RequestBodyBuilder {
    return .JSON(writingOptions: nil)
}

override class var responseBodyParser: ResponseBodyParser {
    return .JSON(readingOptions: nil)
}