mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-10 22:45:55 +05:45
28 lines
693 B
Swift
28 lines
693 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
|
||
|
|
//
|
||
|
|
// PaywallHTTPRequestPath.swift
|
||
|
|
//
|
||
|
|
// Created by Nacho Soto on 9/5/23.
|
||
|
|
|
||
|
|
import Foundation
|
||
|
|
|
||
|
|
extension HTTPRequest.FeatureEventsPath: EventsHTTPRequestPath {
|
||
|
|
|
||
|
|
// swiftlint:disable:next force_unwrapping
|
||
|
|
static let serverHostURL = URL(string: "https://api-paywalls.revenuecat.com")!
|
||
|
|
|
||
|
|
var name: String {
|
||
|
|
switch self {
|
||
|
|
case .postEvents:
|
||
|
|
return "post_paywall_events"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|