//
//  MockURLResponse.swift
//  APICore
//
//  Created by Javier Cicchelli on 10/04/2023.
//  Copyright © 2023 Röck+Cöde. All rights reserved.
//

import Foundation

public struct MockURLResponse {
    
    // MARK: Properties
    
    public let status: Int
    public let headers: [String: String]
    public let data: Data?
    
    // MARK: Initialisers
    
    public init(
        status: Int,
        headers: [String : String],
        data: Data? = nil
    ) {
        self.status = status
        self.headers = headers
        self.data = data
    }

}
