class TokyoMetro::Api::StationFacility::Info::BarrierFree::Facility::Escalator::ServiceDetail::Direction

エスカレータの方向を扱うクラス

Attributes

down[R]

下り方向のエスカレータが存在するか否か @return [Boolean]

up[R]

上り方向のエスカレータが存在するか否か @return [Boolean]

Public Class Methods

factory_for_seeding_this_class() click to toggle source
# File lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb, line 27
def self.factory_for_seeding_this_class
  factory_for_seeding_escalator_service_detail_direction
end
factory_for_this_class() click to toggle source
# File lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb, line 23
def self.factory_for_this_class
  factory_for_generating_barrier_free_escalator_service_detail_direction
end
new( up , down ) click to toggle source
# File lib/tokyo_metro/api/station_facility/info/barrier_free/facility/escalator/service_detail/direction.rb, line 10
def initialize( up , down )
  @up = up
  @down = down
end