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

12 lines
230 B
Swift
Raw Normal View History

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