metatext/MastodonAPI/Sources/MastodonAPIStubs/Paged+Stubbing.swift

12 lines
237 B
Swift
Raw Permalink 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)
}
}