This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTieApiClient.podspec
46 lines (37 loc) · 1.77 KB
/
TieApiClient.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Pod::Spec.new do |s|
s.name = "TieApiClient"
s.version = "1.1.2"
s.summary = "Provides a way of communicating with a Teneo Engine server instance"
s.description = <<-DESC
Provides a way of communicating with a Teneo Engine server instance
Usage:
```swift
// Set Teneo engine url
try {
TieApiService.sharedInstance.setup("{BASE_URL}", endpoint: "{ENDPOINT}")
} catch {
// Handle TieSetupError.invalidUrl
}
// Send input messages
TieApiService.sharedInstance.sendInput({MESSAGE},
parameters: {PARAMETERS},
success: { response in
// Handle response. Remember to dispatch to main thread if updating UI
}, failure: { error in
// Handle error
})
// Close session
TieApiService.sharedInstance.closeSession({ response in
//
}, failure { error in
})
```
DESC
s.homepage = "https://www.artificial-solutions.com/teneo/teneo-interaction-engine"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.author = "Artificial Solutions"
s.swift_version = "5"
s.ios.deployment_target = "11.0"
s.source = { :git => "https://github.com/artificialsolutions/tie-api-client-ios.git", :tag => "#{s.version}" }
s.source_files = "TieApiClient", "TieApiClient/**/*.{swift}"
end