newInstance



fun newInstance(envKey: String, envSecret: String, test: Boolean): SpreedlyClient

Creates a new instance of the Spreedly client with the provided environment key and secret.

Return

An instance of the Spreedly client.

Parameters

envKey

The environment key for accessing the Spreedly services.

envSecret

The environment secret for accessing the Spreedly services.

test

Indicates whether the client is meant for testing purposes.