class TokyoMetro::Api::TrainTimetable::List
列車別の時刻表の情報の配列
Public Instance Methods
seed()
click to toggle source
Calls superclass method
# File lib/tokyo_metro/api/train_timetable/list.rb, line 8 def seed super( ::Operator.all , ::RailwayLine.all , ::Station::Info.all , ::RailwayDirection.all , ::TrainOwner.all , display_number: true ) end
stations()
click to toggle source
# File lib/tokyo_metro/api/train_timetable/list.rb, line 27 def stations self.map( &:stations ).flatten.sort.uniq end
Private Instance Methods
seed_arrival_times_of_last_station_in_tokyo_metro()
click to toggle source
# File lib/tokyo_metro/api/train_timetable/list.rb, line 43 def seed_arrival_times_of_last_station_in_tokyo_metro __seed__( factory_name: :factory_for_seeding_arrival_times_of_last_station_in_tokyo_metro , method_name: __method__ , indent: 1 , not_on_the_top_layer: true , display_number: false ) end
seed_arrival_times_of_romance_car()
click to toggle source
# File lib/tokyo_metro/api/train_timetable/list.rb, line 33 def seed_arrival_times_of_romance_car __seed__( factory_name: :factory_for_seeding_arrival_times_of_romance_car , method_name: __method__ , indent: 1 , not_on_the_top_layer: true , display_number: false ) end