Utils

object Utils(source)

Provides useful generic functions.

Properties

Link copied to clipboard

The logger instance.

Functions

Link copied to clipboard
fun call(accessToken: String, endPoint: String, params: Map<String, Any> = emptyMap(), method: Methods = Methods.POST): CallResponse

Executes an API call.

Link copied to clipboard

Determines if Level.SEVERE logging is enabled.

Link copied to clipboard

Validates a URL.

Link copied to clipboard

Removes http(s) scheme from string.

Link copied to clipboard

Builds the full API endpoint URL using the Constants.API_BASE_URL.