File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ A simple create & buy shipment example:
3030``` php
3131require_once("/path/to/vendor/easypost/autoload.php");
3232
33- $client = new EasyPostClient(getenv('EASYPOST_API_KEY'));
33+ $client = new \EasyPost\ EasyPostClient(getenv('EASYPOST_API_KEY'));
3434
3535$shipment = $client->shipmemt->create([
3636 "from_address" => [
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ public function create($params = null)
5555 */
5656 public function updateEmail ($ email , $ userId )
5757 {
58+ // TODO: Swap the order of these params so ID comes first to match all other functions
59+ // this will be a breaking change and must be done when the next major release happens
5860 $ wrappedParams = [
5961 'user ' => [
6062 'email ' => $ email
You can’t perform that action at this time.
0 commit comments