IceCubesApp/Packages/Network/Sources/Network/Endpoint/Account.swift

17 lines
266 B
Swift
Raw Normal View History

2022-11-29 11:18:06 +00:00
import Foundation
public enum Account: Endpoint {
case accounts(id: String)
public func path() -> String {
switch self {
case .accounts(let id):
return "accounts/\(id)"
}
}
public func queryItems() -> [URLQueryItem]? {
nil
}
}