From d0c1f06069e7a84626b6b52e888351bdcac27c7f Mon Sep 17 00:00:00 2001 From: James Klein Date: Thu, 1 Jul 2021 19:24:52 -0600 Subject: [PATCH] Correct function names in README (#31) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ef7297..138abfd 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ patch.estimates.createFlightEstimate({ distance_m: distance_m }); // Create a shipping estimate const distance_m = 9000000; // Pass in the shipping distance in meters, the transportation method, and the package mass -patch.estimates.createFlightEstimate({ +patch.estimates.createShippingEstimate({ distance_m: distance_m, transportation_method: 'air', package_mass_g: 1000 @@ -121,7 +121,7 @@ patch.estimates.createFlightEstimate({ // Create a vehicle estimate const distance_m = 9000000; // Pass in the shipping distance in meters and the model/make/year of the vehicle -patch.estimates.createFlightEstimate({ +patch.estimates.createVehicleEstimate({ distance_m: distance_m, make: 'Toyota', model: 'Corolla',