룰렛 설정 다이얼로그 뷰 추가
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// RouletteRepository.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/12/06.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import CombineMoya
|
||||
import Combine
|
||||
import Moya
|
||||
|
||||
final class RouletteRepository {
|
||||
private let api = MoyaProvider<RouletteApi>()
|
||||
|
||||
func getRoulette(creatorId: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getRoulette(creatorId: creatorId))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user