Files
purchases-ios/Sources/Events/FeatureEvents/Networking/FeatureEventHTTPRequestPath.swift
T

28 lines
693 B
Swift
Raw Normal View History

//
// 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"
}
}
}