Environment
public enum Environment
An environment the SDK can work against
-
The dev environment (not available outside BookingGo)
Declaration
Swift
case dev(apiKey: APIKey)
-
The test environment
Declaration
Swift
case test(apiKey: APIKey)
-
The integrate environment
Declaration
Swift
case integrate(apiKey: APIKey)
-
The production environment
Declaration
Swift
case production(apiKey: APIKey)
-
A custom environment with custom overrides for base URLs (may be used for adhoc testing)
Declaration
Swift
case custom(apiBaseUrl: URL, apiKey: APIKey)
-
Components of base URL used to access API
Declaration
Swift
public var apiUrl: URL { get }