//
//  HomeModel.swift
//  NetGists
//
//  Created by Igor Gomes Arantes on 28/09/19.
//  Copyright © 2019 Igor Gomes Arantes. All rights reserved.
//

import Foundation

enum Home {
    enum FetchGists {
        struct Response {
            var gists: [Gist]
        }
        
        struct Request {
            var page: Int
            var size: Int
        }
        
        struct ViewModel {
            struct DisplayedGist {
                var profileImageURL: String
                var ownerName: String
                var description: String
            }
            
            var displayedGists: [DisplayedGist]
        }
    }
}
