Instantly share code, notes, and snippets.

Embed
What would you like to do?
public struct ServiceClientConfig {
    private let clientID: String
    private let clientPassword: String
    private let clientIdentifier: String?
    
    public init() {
        #error("Debe establecer el clientID para acceder al API.")
        self.clientID = ""
        #error("Debe establecer el clientPassword para acceder al API.")
        self.clientPassword = ""
        #warning("Para obtener estadísticas de acceso establezca un identificador único para su cliente")
        self.clientIdentifier = ""
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment