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>
25 lines
495 B
Swift
25 lines
495 B
Swift
//
|
|
// ServiceConfiguration+Inits.swift
|
|
// ReviewsiTunesKit
|
|
//
|
|
// Created by Javier Cicchelli on 17/03/2024.
|
|
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import ReviewsFoundationKit
|
|
import ReviewsFeedKit
|
|
|
|
extension ServiceConfiguration {
|
|
|
|
// MARK: Initialisers
|
|
init(session: URLSessionConfiguration = .ephemeral) {
|
|
self.init(
|
|
host: .iTunes,
|
|
session: session,
|
|
decoder: .default
|
|
)
|
|
}
|
|
|
|
}
|