Sha256: 314910d96147fbaa3ea4b2ff0479611d5f79eeb2efc90a08009f4e95c29615db

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

class TokyoMetro::Factory::Generate::Api::StationFacility::Info::BarrierFree::Info::Facility::Toilet < TokyoMetro::Factory::Generate::Api::StationFacility::Info::BarrierFree::Info

  include ::TokyoMetro::ClassNameLibrary::Api::StationFacility::BarrierFree::Toilet

  def variables
    super + [ has_assistant ]
  end

  def self.instance_class
    barrier_free_toilet_info_class
  end

  private

  def has_assistant
    ary = @hash[ "spac:hasAssistant" ]
    if ary.blank?
      nil
    else
      self.class.barrier_free_toilet_assinstant_class.generate_from_hash( ary )
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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