OSDN Git Service

コード整形
[kcd/KCD.git] / KCD / MasterMapInfoMapper.swift
1 //
2 //  MasterMapInfoMapper.swift
3 //  KCD
4 //
5 //  Created by Hori,Masaki on 2017/02/23.
6 //  Copyright © 2017年 Hori,Masaki. All rights reserved.
7 //
8
9 import Cocoa
10
11 final class MasterMapInfoMapper: JSONMapper {
12     
13     typealias ObjectType = MasterMapInfo
14     
15     let apiResponse: APIResponse
16     let configuration = MappingConfiguration(entity: MasterMapInfo.entity,
17                                              dataKeys: ["api_data", "api_mst_mapinfo"],
18                                              editorStore: ServerDataStore.oneTimeEditor())
19     
20     required init(_ apiResponse: APIResponse) {
21         
22         self.apiResponse = apiResponse
23     }
24 }