Skip to content

Instantly share code, notes, and snippets.

@fitomad
Created September 2, 2018 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitomad/b879972e3979895096e31630ce46c7a5 to your computer and use it in GitHub Desktop.
Save fitomad/b879972e3979895096e31630ce46c7a5 to your computer and use it in GitHub Desktop.
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