Module: TokyoMetro::Modules::Api::ToFactory::Convert::Customize::TrainTimetable::TrainRelationsOnMarunouchiBranchLine::Info

Defined in:
lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info.rb

Overview

Note:

TokyoMetro::Modules::Api::ToFactory::Convert::Customize::TrainTimetable::TrainRelationsOnMarunouchiBranchLine#.set_modules により Api::TrainTimetable::Info へ prepend される。

Defined Under Namespace

Modules: StationTime

Seed Train Relations collapse

Instance Method Summary collapse

Instance Method Details

#initialize(*variables) ⇒ Object

Constructor



5
6
7
8
# File 'lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info.rb', line 5

def initialize( *variables )
  super( *variables )
  ::TokyoMetro::Factory::Convert::Customize::Api::TrainTimetable::TrainRelationsOnMarunouchiBranchLine::Info.process( self )
end

#seed_train_relations(*args) ⇒ Object

Note:

東京メトロ Open Data では、データ構造上使用しない。



69
70
71
# File 'lib/tokyo_metro/modules/api/to_factory/convert/customize/train_timetable/train_relations_on_marunouchi_branch_line/info.rb', line 69

def seed_train_relations( *args )
  self.valid_list.send( __method__ , *args )
end