The environment settings (e.g., .sandbox
, .production
).
Instance Method
initialize(environment:)
Initializes the API handler with the given environment configuration.
Declaration
func initialize(environment: KoardEnvironment)
Parameters
environment
-
Discussion
This method sets up base URLs, endpoints, and any environment-specific behavior.