Sha256: 642748b59de6ed2f8478f54c0a0582ebd0fd6aa23097b3d28ab0cd08a9f65562
Contents?: true
Size: 455 Bytes
Versions: 1
Compression:
Stored size: 455 Bytes
Contents
class TokyoMetro::Factory::Convert::Customize::Api::TrainTimetable::StartingStation::Info < TokyoMetro::Factory::Convert::Common::Api::MetaClass::TrainInfos::CustomizeStartingStation::Info def process set_starting_station super end private def set_starting_station unless @object.starting_station.present? @object.instance_variable_set( :@starting_station , @object.valid_list.first.station[ :departure ] ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/factory/convert/customize/api/train_timetable/starting_station/info.rb |