File tree Expand file tree Collapse file tree
src/main/java/com/gocardless/http Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ With Maven:
1414<dependency >
1515 <groupId >com.gocardless</groupId >
1616 <artifactId >gocardless-pro</artifactId >
17- <version >7.1 .0</version >
17+ <version >7.2 .0</version >
1818</dependency >
1919```
2020
2121With Gradle:
2222
2323```
24- implementation 'com.gocardless:gocardless-pro:7.1 .0'
24+ implementation 'com.gocardless:gocardless-pro:7.2 .0'
2525```
2626
2727## Initializing the client
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ plugins {
2525sourceCompatibility = 1.8
2626targetCompatibility = 1.8
2727group = ' com.gocardless'
28- version = ' 7.1 .0'
28+ version = ' 7.2 .0'
2929
3030apply plugin : ' ch.raffael.pegdown-doclet'
3131
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public class HttpClient {
3535 private static final String DISALLOWED_USER_AGENT_CHARACTERS =
3636 "[^\\ w!#$%&'\\ *\\ +\\ -\\ .\\ ^`\\ |~]" ;
3737 private static final String USER_AGENT =
38- String .format ("gocardless-pro-java/7.1 .0 java/%s %s/%s %s/%s" ,
38+ String .format ("gocardless-pro-java/7.2 .0 java/%s %s/%s %s/%s" ,
3939 cleanUserAgentToken (System .getProperty ("java.vm.specification.version" )),
4040 cleanUserAgentToken (System .getProperty ("java.vm.name" )),
4141 cleanUserAgentToken (System .getProperty ("java.version" )),
@@ -49,7 +49,7 @@ public class HttpClient {
4949 builder .put ("GoCardless-Version" , "2015-07-06" );
5050 builder .put ("Accept" , "application/json" );
5151 builder .put ("GoCardless-Client-Library" , "gocardless-pro-java" );
52- builder .put ("GoCardless-Client-Version" , "7.1 .0" );
52+ builder .put ("GoCardless-Client-Version" , "7.2 .0" );
5353 HEADERS = builder .build ();
5454 }
5555 private final OkHttpClient rawClient ;
You can’t perform that action at this time.
0 commit comments