Migrate from the Gini Pay API Library

We’ve migrated from CocoaPods to Swift Package Manager. Please, find more details in Installation.

Update classes

Replace GiniApiLib with GiniBankAPI.

To initialize the library, you will need to use the snippet below:

    let giniBankAPI = GiniBankAPI
        .Builder(client: Client(id: "your-id",
                                secret: "your-secret",
                                domain: "your-domain"))
        .build()