From 585695df418b1cbf17f2d453e15763188cbd4493 Mon Sep 17 00:00:00 2001 From: Suyeol Jeon Date: Sat, 12 Oct 2019 20:45:17 +0900 Subject: [PATCH] Make MultiSugarTarget forward task and validationType --- Sources/MoyaSugar/MultiSugarTarget.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Sources/MoyaSugar/MultiSugarTarget.swift b/Sources/MoyaSugar/MultiSugarTarget.swift index a68bb40..945d484 100644 --- a/Sources/MoyaSugar/MultiSugarTarget.swift +++ b/Sources/MoyaSugar/MultiSugarTarget.swift @@ -39,6 +39,14 @@ public enum MultiSugarTarget: SugarTargetType { return self.target.headers } + public var task: Task { + return self.target.task + } + + public var validationType: ValidationType { + return self.target.validationType + } + public var sampleData: Data { return self.target.sampleData }