metatext/Development Assets/Mastodon API Stubs/TimelinesEndpoint+Stubbing.swift
Justin Mazzocchi 9b59e2fbea
wip
2020-08-30 16:33:32 -07:00

11 lines
234 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import UIKit
import Mastodon
extension TimelinesEndpoint: Stubbing {
func data(url: URL) -> Data? {
NSDataAsset(name: "timelineJSON")!.data
}
}