diff --git a/Sources/Models/LastUpdated.swift b/Sources/Models/LastUpdated.swift new file mode 100644 index 0000000..0fefe45 --- /dev/null +++ b/Sources/Models/LastUpdated.swift @@ -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" + } +}