Skip to content

Commit

Permalink
Make MultiSugarTarget forward task and validationType
Browse files Browse the repository at this point in the history
  • Loading branch information
devxoul committed Oct 12, 2019
1 parent cf3af11 commit 585695d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Sources/MoyaSugar/MultiSugarTarget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 585695d

Please sign in to comment.