Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 126a68aa81 | |||
| bbf3cd6974 |
@@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.3
|
||||
- **Update**: Typical api response keys naming
|
||||
|
||||
## 0.1.2
|
||||
- **Update**: Access modifiers of `ValidationService`
|
||||
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user