Class: TokyoMetro::Factory::Get::Api::DataSearch::Point

Inherits:
MetaClass::Search::DataSearch show all
Includes:
ClassNameLibrary::Api::Point
Defined in:
lib/tokyo_metro/factory/get/api/data_search/point.rb

Overview

API から地物情報 ug:Poi のデータを取得するための Factory Pattern のクラス

Instance Method Summary collapse

Methods inherited from MetaClass::Fundamental

#get_data

Constructor Details

#initialize(id_urn, title, category_name, parse_json, generate_instance, to_inspect) ⇒ Point

Constructor



7
8
9
10
11
12
13
14
# File 'lib/tokyo_metro/factory/get/api/data_search/point.rb', line 7

def initialize( id_urn , title , category_name ,
  parse_json , generate_instance , to_inspect )

  super( parse_json , generate_instance , to_inspect )
  @id = id_urn
  @title = title
  @category_name = category_name
end