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

12 lines
237 B
Swift

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