Skip to content

Commit

Permalink
Master: Fix sdk version sent in request headder
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipeMata committed Sep 30, 2016
1 parent fe6197b commit 949ab61
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.2.1

- Fix: SDK version sent at request body.

# 0.2.0

- Added: new endpoint (link charge)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -19,16 +19,16 @@ For more informations about parameters and values, please refer to [Gerencianet]
**Via gradle:**

```gradle
compile 'br.com.gerencianet.gnsdk:gn-api-sdk-java:0.1.0'
compile 'br.com.gerencianet.gnsdk:gn-api-sdk-java:0.2.1'
```

**Via maven:**

```xml
<dependency>
<groupId>br.com.gerencianet.gnsdk</groupId>
<artifactId>gn-api-sdk-java</artifactId>
<version>0.1.0</version>
    <groupId>br.com.gerencianet.gnsdk</groupId>
    <artifactId>gn-api-sdk-java</artifactId>
    <version>0.2.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.gerencianet.gnsdk</groupId>
<artifactId>gn-api-sdk-java</artifactId>
<version>0.2.0-SNAPSHOT</version>
<version>0.2.2-SNAPSHOT</version>

<name>GN API SDK JAVA</name>
<description>Java SDK for integrating with Gerencianet API</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/br/com/gerencianet/gnsdk/Config.java
Expand Up @@ -8,7 +8,7 @@
*
*/
public class Config {
private final static String version = "0.1.0";
private final static String version = "0.2.1";
private JSONObject conf = new JSONObject();
private JSONObject endpoints = new JSONObject();
private JSONObject urls = new JSONObject();
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/config.json
Expand Up @@ -115,8 +115,8 @@
"cancelParcel": {
"route": "/v1/carnet/:id/parcel/:parcel/cancel",
"method": "put"
}
"linkCharge": {
},
"linkCharge": {
"route": "/v1/charge/:id/link",
"method": "post"
}
Expand Down

0 comments on commit 949ab61

Please sign in to comment.