Implemented LastUpdated model.

This commit is contained in:
Javier Cicchelli 2023-04-18 20:31:06 +02:00
parent 472ed2c068
commit 14325a9933

View File

@ -0,0 +1,13 @@
import Foundation
public struct LastUpdated {
public let timestamp: Date
}
// MARK: - Decodable
extension LastUpdated: Decodable {
enum CodingKeys: String, CodingKey {
case timestamp = "lastUpdated"
}
}