Class: Algolia::Indices::Importer

Inherits:
Object
  • Object
show all
Defined in:
lib/algolia/indices.rb

Instance Method Summary collapse

Constructor Details

#initialize(api_key, application_id, index_name, path) ⇒ Importer

Returns a new instance of Importer.



7
8
9
10
# File 'lib/algolia/indices.rb', line 7

def initialize(api_key, application_id, index_name, path)
  @path = path
  @algolia_client = Client.new(api_key, application_id, index_name)
end