Sha256: 823a37ec19f0d6d8b7b1e33fe518f2bef3d6821ac36d7b0ce22bc67cfe5384ea

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

# トイレの補助設備の情報
class TokyoMetro::Api::StationFacility::Info::BarrierFree::Facility::Toilet::Assistant

  include ::TokyoMetro::ClassNameLibrary::Api::StationFacility
  include ::TokyoMetro::Modules::Common::ToFactory::Generate::Info
  include ::TokyoMetro::Modules::Common::ToFactory::Seed::Info

  include ::TokyoMetro::Modules::Common::Info::StationFacility::BarrierFree::WheelChair::Accessibility::AliasTowardsAvailability
  include ::TokyoMetro::Modules::Common::Info::StationFacility::BarrierFree::WheelChair::MethodMissing
  include ::TokyoMetro::Modules::Common::Info::StationFacility::BarrierFree::ToiletAssistant

  def initialize( wheel_chair_accessible , baby_chair , baby_changing_table , ostomate )
    @wheel_chair_accessible = wheel_chair_accessible
    @baby_chair = baby_chair
    @baby_changing_table = baby_changing_table
    @ostomate = ostomate
  end

  # 車いすが利用可能か否か
  # @return [Boolean]
  attr_reader :wheel_chair_accessible

  # 幼児用の椅子が設置されているか否か
  # @return [Boolean]
  attr_reader :baby_chair

  # おむつ交換台が設置されているか否か
  # @return [Boolean]
  attr_reader :baby_changing_table

  # オストメイト設備が設置されているか否か
  # @return [Boolean]
  attr_reader :ostomate

  # @!group クラスメソッド

  def self.factory_for_this_class
    factory_for_generating_barrier_free_toilet_assistant_from_hash
  end

  def self.factory_for_seeding_this_class
    factory_for_seeding_toilet_service_detail_assistant_info
  end

  # @!endgroup

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/api/station_facility/info/barrier_free/facility/toilet/assistant.rb