File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11package com .sendgrid ;
22
3+ import com .sendgrid .constant .Config ;
4+
35import java .io .IOException ;
46import java .util .HashMap ;
57import java .util .Map ;
1113 */
1214public abstract class BaseInterface implements SendGridAPI {
1315
14- private static final String VERSION = "4.10.2" ;
16+ private static final String VERSION = Config . VERSION ;
1517
1618 private static final String USER_AGENT = "sendgrid/" + VERSION + ";java" ;
1719 private static final int RATE_LIMIT_RESPONSE_CODE = 429 ;
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public void testConstructWithClient() throws IOException {
4343 @ Test
4444 public void testLibraryVersion () {
4545 SendGrid sg = new SendGrid (SENDGRID_API_KEY );
46- Assert .assertEquals (sg .getLibraryVersion (), "4.10.2 " );
46+ Assert .assertEquals (sg .getLibraryVersion (), "5.0.0-rc.0 " );
4747 }
4848
4949 @ Test
You can’t perform that action at this time.
0 commit comments