mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
AltStoreCore will contain all shared AltStore code between AltStore and any app extensions. Initially, it includes all AltStore model logic.
28 lines
426 B
Swift
28 lines
426 B
Swift
//
|
|
// Campaign.swift
|
|
// AltStore
|
|
//
|
|
// Created by Riley Testut on 8/21/19.
|
|
// Copyright © 2019 Riley Testut. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
extension PatreonAPI
|
|
{
|
|
struct CampaignResponse: Decodable
|
|
{
|
|
var id: String
|
|
}
|
|
}
|
|
|
|
public struct Campaign
|
|
{
|
|
public var identifier: String
|
|
|
|
init(response: PatreonAPI.CampaignResponse)
|
|
{
|
|
self.identifier = response.id
|
|
}
|
|
}
|