-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Harvest API Credentials be added later
- Update Gateway to allow Harvest API Credentials to be set after initialisation: - Get credentials from config in __construct method - remove exception thrown by $this->hasCredentials in __construct, as they may not be set at this point - modify get() method to explicitly set headers with credentials from config
- Loading branch information
1 parent
70d33b1
commit 8f5ba1d
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters