Files
purchases-ios/Sources/Networking/Caching/OfferingsCallback.swift
T
NachoSoto 7530a6771d OfferingsManager/OfferingsFactory: using OfferingsResponse (#1435)
This takes full advantage of `Decodable` when decoding and creating `Offerings`.
2022-04-22 11:19:40 -07:00

22 lines
513 B
Swift

//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// OfferingsCallback.swift
//
// Created by Joshua Liebowitz on 11/19/21.
import Foundation
struct OfferingsCallback: CacheKeyProviding {
let cacheKey: String
let completion: (Result<OfferingsResponse, BackendError>) -> Void
}