Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen293 committed Jul 15, 2024
1 parent d88ce34 commit 095c266
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const EasyPostClient = require('@easypost/api');
const EasyPostClient = require("@easypost/api");

const client = new EasyPostClient('EASYPOST_API_KEY');
const client = new EasyPostClient("EASYPOST_API_KEY");

(async () => {
const rates = await client.Shipment.recommendShipDate(
'shp_...',
'YYYY-MM-DD',
"shp_...",
"YYYY-MM-DD"
);

console.log(rates);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
client = EasyPost::Client.new(api_key: 'EASYPOST_API_KEY')

params = {
from_zip: '10001',
to_zip: '10002',
planned_ship_date: '2024-07-18',
carriers: ['ups'],
}
from_zip: '10001',
to_zip: '10002',
planned_ship_date: '2024-07-18',
carriers: ['ups'],
}

results = client.smart_rate.estimate_delivery_date(params)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
client = EasyPost::Client.new(api_key: 'EASYPOST_API_KEY')

params = {
from_zip: '10001',
to_zip: '10002',
desired_delivery_date: '2024-07-18',
carriers: ['ups'],
}
from_zip: '10001',
to_zip: '10002',
desired_delivery_date: '2024-07-18',
carriers: ['ups'],
}

results = client.smart_rate.recommend_ship_date(params)

Expand Down

0 comments on commit 095c266

Please sign in to comment.