We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f3477f + d997638 commit 3896b62Copy full SHA for 3896b62
Sources/ACMNetworking/Library/Models/ACMPlistModel.swift
@@ -22,6 +22,12 @@ open class ACMPlistModel: Codable {
22
case isLogEnabled
23
}
24
25
+ public init(baseURL: String, timeout: Double, isLogEnabled: Bool) {
26
+ self.baseURL = baseURL
27
+ self.timeout = timeout
28
+ self.isLogEnabled = isLogEnabled
29
+ }
30
+
31
open func encode(to encoder: Encoder) throws {
32
var container = encoder.container(keyedBy: CodingKeys.self)
33
try container.encode(baseURL, forKey: .baseURL)
0 commit comments