metatext/MastodonAPI/Sources/MastodonAPIStubs/Paged+Stubbing.swift
2020-09-03 18:55:46 -07:00

11 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)
}
}