Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update version
Interface changes
  • Loading branch information
greengrowapps committed Jan 13, 2016
1 parent 1474815 commit 88a617e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GgaRest.ws().get("http://httpbin.org/get")
})
.onOther(new OnResponseListener() {
@Override
public void onResponse(int code, Response fullResponse) {
public void onResponse(int code, Response fullResponse, Exception exception) {
Toast.makeText(MainActivity.this, "Get failed", Toast.LENGTH_SHORT).show();
}
})
Expand All @@ -53,7 +53,7 @@ Or here we use basic auth to retrieve the closest trends using the Twitter api:
})
.onResponse(401, new OnResponseListener() {
@Override
public void onResponse(int code, Response fullResponse) {
public void onResponse(int code, Response fullResponse, Exception exception) {
Toast.makeText(MainActivity.this, "Unauthorized", Toast.LENGTH_SHORT).show();
}
})
Expand All @@ -66,7 +66,7 @@ Or here we use basic auth to retrieve the closest trends using the Twitter api:

```groovy
dependencies {
compile 'com.greengrowapps:ggarest:0.6'
compile 'com.greengrowapps:ggarest:0.7'
}
```

Expand Down

0 comments on commit 88a617e

Please sign in to comment.