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

[Version](http://cocoapods.org/pods/CNI-Itineraries )
[License](http://cocoapods.org/pods/CNI-Itineraries )
Platform

Example

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

Installation

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

pod 'CNI-Itineraries'

Usage

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

  • import CNI_Itineraries
  • Use those CNIBookingManager methods
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(
guestId: String,
reservationNumber: String,
success: @escaping (_ result: Bool) -> Void,
failure: @escaping (_ error: Error) -> Void)

Author

Joseph Tseng, [email protected]

License

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

Latest podspec

{
    "name": "CNI-Itineraries",
    "version": "1.1.1",
    "swift_version": "4.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": {
        "Joseph Tseng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/conichiGMBH/CNI-Booking.git",
        "tag": "1.1.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Source/Classes/**/*"
}

Pin It on Pinterest

Share This