class TokyoMetro::Api::StationFacility::Info::BarrierFree::ServiceDetail::List
施設の詳細情報の配列を扱うクラス
Public Class Methods
factory_for_seeding_this_class()
click to toggle source
# File lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb, line 22 def self.factory_for_seeding_this_class factory_for_seeding_barrier_free_facility_service_detail_list end
Public Instance Methods
seed( barrier_free_facility_id )
click to toggle source
Calls superclass method
# File lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb, line 17 def seed( barrier_free_facility_id ) raise unless barrier_free_facility_id.integer? super( barrier_free_facility_id , not_on_the_top_layer: true , no_display: true , display_number: false ) end
to_s()
click to toggle source
インスタンスの情報を文字列に変換するメソッド @return [String]
# File lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb, line 9 def to_s self.map( &:to_s ).join("/") end
Also aliased as: to_strf