Mercurial > public > simoleon
diff Simoleon/Models/CurrencyQuoteModel.swift @ 160:0c589138a6f3
Implement Conversion Box
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 29 Aug 2021 19:04:34 +0100 |
parents | 8afba86ab8dd |
children |
line wrap: on
line diff
--- a/Simoleon/Models/CurrencyQuoteModel.swift Sat Aug 28 19:18:50 2021 +0100 +++ b/Simoleon/Models/CurrencyQuoteModel.swift Sun Aug 29 19:04:34 2021 +0100 @@ -8,14 +8,14 @@ import Foundation struct CurrencyQuoteModel: Codable, Hashable { - var symbol: String? + var pair: String? var price: Double? var bid: Double? var ask: Double? var timeStamp: Int? private enum CodingKeys: String, CodingKey { - case symbol = "s" + case pair = "s" case price = "p" case bid = "b" case ask = "a"