metatext-app-ios-iphone-ipad/MastodonAPI/Sources/MastodonAPIStubs/InstanceEndpoint+Stubbing.s...

12 lines
224 B
Swift

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