Tusker/Pachyderm/Model/StatusContentType.swift

18 lines
334 B
Swift
Raw Normal View History

2019-01-14 00:46:51 +00:00
//
// StatusContentType.swift
// Pachyderm
//
// Created by Shadowfacts on 1/12/19.
// Copyright © 2019 Shadowfacts. All rights reserved.
//
import Foundation
public enum StatusContentType: String, Codable, CaseIterable {
case plain, markdown, html
var mimeType: String {
return "text/" + rawValue
}
}