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

12 lines
224 B
Swift
Raw Normal View History

2020-08-31 10:21:01 +00:00
// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import MastodonAPI
2020-08-31 10:21:01 +00:00
import Stubbing
extension InstanceEndpoint: Stubbing {
public func data(url: URL) -> Data? {
2020-09-08 02:12:38 +00:00
StubData.instance
2020-08-31 10:21:01 +00:00
}
}