Skip to content

Commit

Permalink
version 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
angelodipaolo committed Dec 1, 2016
1 parent d36750f commit b4f2b51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ELWebService

[![Version](https://img.shields.io/badge/version-v4.0.0-blue.svg)](https://github.com/Electrode-iOS/ELWebService/releases/latest)
[![Version](https://img.shields.io/badge/version-v4.0.1-blue.svg)](https://github.com/Electrode-iOS/ELWebService/releases/latest)
[![Build Status](https://travis-ci.org/Electrode-iOS/ELWebService.svg?branch=master)](https://travis-ci.org/Electrode-iOS/ELWebService)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

Expand All @@ -17,7 +17,7 @@ ELWebService requires Swift 3 and Xcode 8.
Install with [Carthage](https://github.com/Carthage/Carthage) by adding the framework to your project's [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).

```
github "Electrode-iOS/ELWebService" ~> 4.0.0
github "Electrode-iOS/ELWebService" ~> 4.0.1
```

### Manual
Expand Down Expand Up @@ -65,15 +65,15 @@ The error handler will only be called after a request results in an error. If an

### Handling JSON responses

Use the `responseJSON()` method to serialize a successful response as a JSON value of type `AnyObject`.
Use the `responseJSON()` method to serialize a successful response as a JSON value of type `Any`.

```
let service = WebService(baseURLString: "https://brewhapi.herokuapp.com/")
service
.GET("/brewers")
.setQueryParameters(["state" : "New York"])
.responseJSON { (json: AnyObject, response: URLResponse?) in
.responseJSON { (json: Any, response: URLResponse?) in
// process response as JSON
}
.resume()
Expand Down
2 changes: 1 addition & 1 deletion Source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.0.0</string>
<string>4.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit b4f2b51

Please sign in to comment.