Skip to content

Commit ac1b2eb

Browse files
committed
Add documentation
1 parent 461cbe0 commit ac1b2eb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Sources/MailTMSwift/APIService.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ public protocol MTAPIServiceTaskProtocol {
193193
func cancel()
194194
}
195195

196+
/// Wrapper class for URLSessionDataTask, provided to cancel the ongoing api request
196197
public final class MTAPIServiceTask: MTAPIServiceTaskProtocol {
197198
private let sessionTask: URLSessionDataTask
198199

@@ -208,7 +209,7 @@ public final class MTAPIServiceTask: MTAPIServiceTaskProtocol {
208209
}
209210
}
210211

211-
public final class APIPlaceholderServiceTask: MTAPIServiceTaskProtocol {
212+
final class APIPlaceholderServiceTask: MTAPIServiceTaskProtocol {
212213

213214
public var taskId: UUID = UUID()
214215

Sources/MailTMSwift/Services/MTMessagesService.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import Foundation
99
import Combine
1010

11+
/// Helper class to work with [Mail.tm](https://mail.tm) messages
1112
open class MTMessageService {
1213

1314
private let apiService: APIServiceProtocol

0 commit comments

Comments
 (0)