Class: TokyoMetro::Factory::Get::Api::MetaClass::Find

Inherits:
Fundamental
  • Object
show all
Defined in:
lib/tokyo_metro/factory/get/api/meta_class/find.rb

Direct Known Subclasses

DataSearch, Geo

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Fundamental

#get_data

Constructor Details

#initialize(data_id, *args) ⇒ Find

Constructor



4
5
6
7
# File 'lib/tokyo_metro/factory/get/api/meta_class/find.rb', line 4

def initialize( data_id , *args )
  super( *args )
  @data_id = data_id
end

Class Method Details

.process(http_client, *args) ⇒ Object



9
10
11
# File 'lib/tokyo_metro/factory/get/api/meta_class/find.rb', line 9

def self.process( http_client , *args )
  self.new( *args ).get_data( http_client )
end