Rename SpotPrice* to Price*
This commit is contained in:
22
SatsPrice/PriceSource.swift
Normal file
22
SatsPrice/PriceSource.swift
Normal file
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// PriceSource.swift
|
||||
// SatsPrice
|
||||
//
|
||||
// Created by Terry Yiu on 2/20/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
enum PriceSource: CaseIterable, CustomStringConvertible {
|
||||
case coinbase
|
||||
case coingecko
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case .coinbase:
|
||||
"Coinbase"
|
||||
case .coingecko:
|
||||
"CoinGecko"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user