1
0
Fork 0
mirror of https://github.com/metabolist/metatext.git synced 2024-12-23 14:00:29 +00:00
metatext/MastodonAPI/Sources/MastodonAPIStubs/Paged+Stubbing.swift

12 lines
237 B
Swift
Raw Normal View History

2020-09-01 07:33:49 +00:00
// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import MastodonAPI
2020-09-01 07:33:49 +00:00
import Stubbing
extension Paged: Stubbing where T: Stubbing {
public func data(url: URL) -> Data? {
endpoint.data(url: url)
}
}