diff --git a/Cactacea.podspec b/Cactacea.podspec index 91a4116..b40b5a8 100644 --- a/Cactacea.podspec +++ b/Cactacea.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Cactacea' - s.version = '19.3.0' + s.version = '19.3.3' s.summary = 'Cactacea iOS SDK' s.description = 'An iOS library to interface with Cactacea backend API' s.ios.deployment_target = '9.0' diff --git a/Cactacea/Classes/Swaggers/APIs/SystemAPI.swift b/Cactacea/Classes/Swaggers/APIs/SystemAPI.swift index 4f7b228..38c314e 100644 --- a/Cactacea/Classes/Swaggers/APIs/SystemAPI.swift +++ b/Cactacea/Classes/Swaggers/APIs/SystemAPI.swift @@ -17,8 +17,8 @@ open class SystemAPI { - parameter completion: completion handler to receive the data and the error objects */ - open class func pingGet(completion: @escaping ((_ error: Error?) -> Void)) { - pingGetWithRequestBuilder().execute { (response, error) -> Void in + open class func ping(completion: @escaping ((_ error: Error?) -> Void)) { + pingWithRequestBuilder().execute { (response, error) -> Void in completion(error); } } @@ -28,9 +28,9 @@ open class SystemAPI { - returns: Observable */ - open class func pingGet() -> Observable { + open class func ping() -> Observable { return Observable.create { observer -> Disposable in - pingGet() { error in + ping() { error in if let error = error { observer.on(.error(error)) } else { @@ -48,7 +48,7 @@ open class SystemAPI { - returns: RequestBuilder */ - open class func pingGetWithRequestBuilder() -> RequestBuilder { + open class func pingWithRequestBuilder() -> RequestBuilder { let path = "/ping" let URLString = CactaceaAPI.basePath + path let parameters: [String:Any]? = nil diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 5c4d763..78387e0 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -3,7 +3,7 @@ PODS: - Alamofire (4.7.3) - AlamofireImage (3.4.1): - Alamofire (~> 4.7) - - Cactacea (19.1.1): + - Cactacea (19.3.3): - Alamofire (~> 4.7.3) - RxSwift (~> 4.4) - KeychainAccess (3.1.2) @@ -70,7 +70,7 @@ SPEC CHECKSUMS: ActiveLabel: b8b2396fe25308d563601437d6605bf691c3b5db Alamofire: c7287b6e5d7da964a70935e5db17046b7fde6568 AlamofireImage: 78d67ccbb763d87ba44b21583d2153500a195630 - Cactacea: a8f2ac1f7703af474b817e136512c4d4c1ac0c2f + Cactacea: 88b156296ccdb5e2190c66c3ab8e07c178eca8e6 KeychainAccess: b3816fddcf28aa29d94b10ec305cd52be14c472b MessageInputBar: e81c7535347f1f7b923de7080409a535a004b6e4 MessageKit: 29c1c87e5a396d2ca7a3f712e5171dc9aba42a1e