Created
October 12, 2019 20:13
-
-
Save michaeldejong/750c5fe684ab3f594ccc09bdcb252bba to your computer and use it in GitHub Desktop.
Getting notified of specific settings being updated with Consultant
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
Consultant consultant = Consultant.builder() | |
.identifyAs("billing") | |
.onSettingUpdate("pipedrive.apikey", (key, oldValue, newValue) -> { | |
log.warn("Pipedrive API key was changed to: " + newValue); | |
}) | |
.build(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment