Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: 🎸 curl opt
Browse files Browse the repository at this point in the history
update
  • Loading branch information
Watson Zuo committed Mar 22, 2023
1 parent fe29b8f commit 49d20fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ $api_key = 'AFTERSHIP API KEY';

$curl_opt = [CURLOPT_PROXY => 'http://example.com', 'CURLOPT_PROXYPORT' => '8080']

$couriers = new AfterShip\Couriers($key, $curl_opt);
$trackings = new AfterShip\Trackings($key, $curl_opt);
$last_check_point = new AfterShip\LastCheckPoint($key, $curl_opt);
$couriers = new AfterShip\Couriers($key, null, $curl_opt);
$trackings = new AfterShip\Trackings($key, null, $curl_opt);
$last_check_point = new AfterShip\LastCheckPoint($key, null, $curl_opt);
```

## Testing
Expand Down

0 comments on commit 49d20fa

Please sign in to comment.