Class: TokyoMetro::Api::StationTimetable::List

Overview

各駅・各路線・各方面の時刻表の情報の配列

Instance Method Summary collapse

Methods included from Modules::Api::List::Selection::RailwayLines

#chiyoda_including_branch, #marunouchi_including_branch, #namboku_or_toei_mita, #yurakucho_or_fukutoshin

Methods inherited from MetaClass::Fundamental::List

#find_by_same_as, #to_strf

Instance Method Details

#seedObject



9
10
11
12
13
14
15
16
17
# File 'lib/tokyo_metro/api/station_timetable/list.rb', line 9

def seed
  super(
    ::Operator.all ,
    ::RailwayLine.all ,
    ::Station::Info.all ,
    ::RailwayDirection.all ,
    display_number: true
  )
end

#seed_train_times(train_timetables) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/tokyo_metro/api/station_timetable/list.rb', line 19

def seed_train_times( train_timetables )
  __seed__(
    train_timetables ,
    method_name: __method__ ,
    factory_name: :factory_for_seeding_train_times
  )
end