smartcar / java-sdk

Java client SDK for the Smartcar API.
https://smartcar.github.io/java-sdk
MIT License
20 stars 20 forks source link

Feat: Single select builder #62

Closed adolfoportilla closed 5 years ago

adolfoportilla commented 5 years ago

Feat: Add single select to authUrl.

Note: This PR deprecates the previously used method getAuthUrl, and AuthVehicleInfo. It is important to note that we will still support those functions but will no longer maintain them nor add functionality.

codecov[bot] commented 5 years ago

Codecov Report

Merging #62 into master will increase coverage by 1.77%. The diff coverage is 5%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #62      +/-   ##
============================================
+ Coverage        50%   51.77%   +1.77%     
+ Complexity       57       54       -3     
============================================
  Files            20       17       -3     
  Lines           444      423      -21     
  Branches         16       20       +4     
============================================
- Hits            222      219       -3     
+ Misses          213      195      -18     
  Partials          9        9
Flag Coverage Δ Complexity Δ
#integration 50.11% <5%> (+1.69%) 54 <0> (-3) :arrow_down:
#test 6.85% <0%> (+0.32%) 5 <0> (ø) :arrow_down:
Impacted Files Coverage Δ Complexity Δ
src/main/java/com/smartcar/sdk/AuthClient.java 66.2% <5%> (-9.99%) 11 <0> (ø)
src/main/java/com/smartcar/sdk/Vehicle.java 77.27% <0%> (-0.99%) 15% <0%> (-3%)
...c/main/java/com/smartcar/sdk/data/VehicleFuel.java
...main/java/com/smartcar/sdk/data/VehicleCharge.java
...ain/java/com/smartcar/sdk/data/VehicleBattery.java

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0d85c39...2e37d7f. Read the comment docs.