metatext-app-ios-iphone-ipad/MastodonAPI/Sources/MastodonAPIStubs/Paged+Stubbing.swift

12 lines
237 B
Swift
Raw Normal View History

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