Skip to content

Commit

Permalink
Correct function names in README (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinjm authored Jul 2, 2021
1 parent 117f59d commit d0c1f06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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',
Expand Down

0 comments on commit d0c1f06

Please sign in to comment.