2 // MasterSlotItemMapper.swift
5 // Created by Hori,Masaki on 2017/02/23.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 class MasterSlotItemMapper: JSONMapper {
12 typealias ObjectType = MasterSlotItem
14 let apiResponse: APIResponse
15 let configuration = MappingConfiguration(entity: MasterSlotItem.entity,
16 dataKeys: ["api_data", "api_mst_slotitem"],
17 editorStore: ServerDataStore.oneTimeEditor(),
18 ignoreKeys: ["api_version"])
20 required init(_ apiResponse: APIResponse) {
21 self.apiResponse = apiResponse