Sha256: 1e95d2ad38a4274c8c4c98a9d4d2b4155f278c20c5123aa28352ad03037c106d
Contents?: true
Size: 569 Bytes
Versions: 1
Compression:
Stored size: 569 Bytes
Contents
# API から取得したハッシュからインスタンスを生成するための Factory Pattern のクラス(メタクラス) class TokyoMetro::Factory::Generate::Api::PassengerSurvey::Info < TokyoMetro::Factory::Generate::Api::MetaClass::Info::Fundamental include ::TokyoMetro::ClassNameLibrary::Api::PassengerSurvey private # Info クラスに送る変数のリスト # @return [::Array] def variables [ "\@id" , "owl:sameAs" , "odpt:operator" , "odpt:surveyYear" , "odpt:passengerJourneys" ].map{ | key | @hash[ key ] } 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/passenger_survey/info.rb |