Compare commits

..

2 Commits

Author SHA1 Message Date
Pavel 126a68aa81 Merge pull request #32 from TouchInstinct/fix/default_api_response
Updated typical api response
2017-12-07 19:30:34 +03:00
Pavel Lukandiy bbf3cd6974 Updated typical api response 2017-12-07 19:12:29 +03:00
3 changed files with 6 additions and 3 deletions
+3
View File
@@ -1,5 +1,8 @@
# Changelog
## 0.1.3
- **Update**: Typical api response keys naming
## 0.1.2
- **Update**: Access modifiers of `ValidationService`
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LeadKitAdditions"
s.version = "0.1.2"
s.version = "0.1.3"
s.summary = "iOS framework with a bunch of tools for rapid development"
s.homepage = "https://github.com/TouchInstinct/LeadKitAdditions"
s.license = "Apache License, Version 2.0"
@@ -34,8 +34,8 @@ public class ApiResponse: ApiResponseProtocol, ImmutableMappable {
public required init(map: Map) throws {
result = try? map.value("result")
errorCode = try map.value("error_code")
errorMessage = try? map.value("error_message")
errorCode = try map.value("errorCode")
errorMessage = try? map.value("errorMessage")
}
}