Instance Method

initialize(environment:)

Initializes the API handler with the given environment configuration.

Declaration

func initialize(environment: KoardEnvironment)

Parameters

environment

The environment settings (e.g., .sandbox, .production).

Discussion

This method sets up base URLs, endpoints, and any environment-specific behavior.