Latest 1.0.9
Homepage https://github.com/conichiGMBH/CNI-Booking
License Conichi License
Platforms ios 9.0
Authors

Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

CNI-Booking is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'CNI-Booking'

Usage

Usage

  • CNIBookingManager init with username, password, consumer key, environment

  • import CNI_Booking
  • Use those CNIBookingManager methods
    public class func getBookingsWith(success: @escaping (_ results: [CNIBooking]) -> Void,
    failure: @escaping (_ error: Error) -> Void)
    public class func getBookingsFor(guestId: String,
    success: @escaping (_ results: [CNIBooking]) -> Void,
    failure: @escaping (_ error: Error) -> Void)
    public class func postBookingWith(data: [String: Any],
    success: @escaping (_ result: Bool) -> Void,
    failure: @escaping (_ error: Error) -> Void)
    public class func deleteBookingWith(data: [String: Any],
    success: @escaping (_ result: Bool) -> Void,
    failure: @escaping (_ error: Error) -> Void)

Author

vincentjacquesson, [email protected]

License

CNI-Booking is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CNI-Booking",
    "version": "1.0.9",
    "swift_version": "3.2",
    "summary": "provide methods to push, retrieve and delete bookings from conichi backend",
    "description": "Provide methods to push, retrieve and delete bookings from conichi backendnRead README file for usage",
    "homepage": "https://github.com/conichiGMBH/CNI-Booking",
    "license": {
        "type": "Conichi License",
        "file": "LICENSE"
    },
    "authors": {
        "vincentjacquesson": "[email protected]"
    },
    "source": {
        "git": "https://github.com/conichiGMBH/CNI-Booking.git",
        "tag": "1.0.9"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "CNI-Booking/Classes/**/*"
}

Pin It on Pinterest

Share This