Class: Syobocal::DB::ChGroupLookup::Mapper

Inherits:
Object
  • Object
show all
Includes:
Mapper
Defined in:
lib/syobocal/db.rb

Instance Method Summary collapse

Methods included from Mapper

#map, #set, #to_snake

Constructor Details

#initializeMapper

Returns a new instance of Mapper.



220
221
222
223
224
225
226
227
228
# File 'lib/syobocal/db.rb', line 220

def initialize
  @map = {
    "LastUpdate" => :time,
    "ChGID" => :int,
    "ChGroupName" => :str,
    "ChGroupComment" => :str,
    "ChGroupOrder" => :int,
  }
end