2 // MasterSTypeMapper.swift
5 // Created by Hori,Masaki on 2017/02/22.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 final class MasterSTypeMapper: JSONMapper {
13 let apiResponse: APIResponse
14 let configuration = MappingConfiguration(entity: MasterSType.entity,
15 dataKeys: ["api_data", "api_mst_stype"],
16 editorStore: ServerDataStore.oneTimeEditor(),
17 ignoreKeys: ["api_equip_type"])
19 required init(_ apiResponse: APIResponse) {
21 self.apiResponse = apiResponse