Class PriceAPI
- java.lang.Object
-
- io.github.amithkoujalgi.fuelprices.PriceAPI
-
public class PriceAPI extends Object
-
-
Constructor Summary
Constructors Constructor Description PriceAPI(PriceSource source)
-
-
-
Constructor Detail
-
PriceAPI
public PriceAPI(PriceSource source)
-
-
Method Detail
-
fetch
public float fetch(String city, FuelType fuelType) throws IOException
- Throws:
IOException
-
-