createConsentRepository

fun createConsentRepository(accountType: AccountType, baseUrl: String = "https://danskespil.dk/", debug: Boolean = false): ConsentRepository

create ConsentRepository

Return

ConsentRepository

Parameters

accountType

The account type either AccountType.DLI or AccountType.DLO.

baseUrl

Overwrite if testing on a different environment.

debug

Boolean Add body level debugging log for api calls.