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

12 lines
224 B
Swift
Raw Normal View History

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