cc.protea.foundation.integrations.SpreedlyUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foundation Show documentation
Show all versions of foundation Show documentation
Integrate compatible versions of many external systems to create a REST/HTTP server foundation
package cc.protea.foundation.integrations;
import cc.protea.spreedly.Spreedly;
public class SpreedlyUtil {
public static String getEnvironmentKey() {
return System.getenv("SPREEDLYCORE_ENVIRONMENT_KEY");
}
public static String getApiSecret() {
return System.getenv("SPREEDLYCORE_API_SECRET");
}
public static Spreedly getSpreedly() {
return new cc.protea.spreedly.Spreedly(SpreedlyUtil.getEnvironmentKey(), SpreedlyUtil.getApiSecret());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy