All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.protea.foundation.integrations.SpreedlyUtil Maven / Gradle / Ivy

Go to download

Integrate compatible versions of many external systems to create a REST/HTTP server foundation

There is a newer version: 0.5.12
Show newest version
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