Class: TokyoMetro::Api::MlitStation::Info

Overview

個別の駅情報 mlit:Station のクラス

一般の情報 collapse

Attributes inherited from TokyoMetro::Api::MlitRailwayLine::Info

#geo_lat, #geo_long, #mlit_operator_name, #mlit_railway_line_name, #region

Attributes inherited from TokyoMetro::Api::MetaClass::Fundamental::Info

#id_urn

Instance Method Summary collapse

Methods inherited from TokyoMetro::Api::MlitRailwayLine::Info

#to_h, #to_s

Methods included from Modules::Api::Info::ToStringGeneral

#to_s

Methods included from Modules::Api::Info::ToJson

#to_json

Constructor Details

#initialize(id_urn, geo_long, geo_lat, region, mlit_station_name, mlit_operator_name, mlit_railway_line_name) ⇒ Info

Constructor



7
8
9
10
# File 'lib/tokyo_metro/api/mlit_station/info.rb', line 7

def initialize( id_urn , geo_long , geo_lat , region , mlit_station_name , mlit_operator_name , mlit_railway_line_name )
  super( id_urn , geo_long , geo_lat , region , mlit_operator_name , mlit_railway_line_name )
  @mlit_station_name = mlit_station_name
end

Instance Attribute Details

#mlit_station_nameString (readonly) Also known as: station_name

駅名 <mlit:stationName - xsd:string>

Returns:

  • (String)


16
17
18
# File 'lib/tokyo_metro/api/mlit_station/info.rb', line 16

def mlit_station_name
  @mlit_station_name
end