Latest 0.3.5
Homepage https://github.com/SarathRaveendran/ServiceNowExtension
License MIT
Platforms ios 12.0
Dependencies Alamofire
Authors

Version
License
Platform

Example

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

Requirements

iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+
Xcode 10.1+
Swift 4.2+

Installation

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

pod 'ServiceNowExtension'

Usage

Import ServiceNowExtension in your view controller then Initiate SNManager Instance with required details.

domain   =  "Servicenow domain url"
userName =  "Service now account userid"
password =  "Service now password"
var snManager = SNManager(domain, userName: userName, password: password)

Once the instance created you can raise your ticket through createIncidentTicket() method and pass the required parameters

func createATicket() {

    let subject = "Ticket Subject"
    let priority = "Ticket Priority" [High/Medium/Low]
    let description = "Decribe the issue"
    let incidentImage = "Your image"

    snManager.createIncidentTicket(subject, priority: priority, description: description, image: incidentImage) { (status, message) in

    }
}

Author

Sarath Raveendran

License

ServiceNowExtension is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ServiceNowExtension",
    "version": "0.3.5",
    "summary": "A ServiceNowExtension.",
    "swift_version": "4.2",
    "description": "A genric plugin which helps to post the incidents to the Service now wall.nOnce the admin verified it you will get the ticket updates through application.",
    "homepage": "https://github.com/SarathRaveendran/ServiceNowExtension",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Sarath Raveendran": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SarathRaveendran/ServiceNowExtension.git",
        "tag": "0.3.5"
    },
    "platforms": {
        "ios": "12.0"
    },
    "source_files": "ServiceNowExtension/Classes/**/*",
    "dependencies": {
        "Alamofire": []
    }
}

Pin It on Pinterest

Share This