app-reviews/Libraries/Foundation/Kit/Sources/Extensions/URLSessionConfiguration+Constants.swift
Javier Cicchelli 7c016b50d6 [Library] iTunes library (#5)
This PR contains the work done to implement the `iTunesService` service that fetches the reviews from the **Apple App Store**.

Reviewed-on: #5
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2024-03-17 22:48:27 +00:00

23 lines
489 B
Swift

//
// URLSessionConfiguration+Constants.swift
// ReviewsFoundationKit
//
// Created by Javier Cicchelli on 17/03/2024.
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
//
import Foundation
extension URLSessionConfiguration {
// MARK: Constants
public static let mock = {
let configuration: URLSessionConfiguration = .ephemeral
configuration.protocolClasses = [MockURLProtocol.self]
return configuration
}()
}