module Jekyll::Algolia::Indexer

def self.init

User Agent and give an easy access to the main index
This call will instanciate the Algolia API client, set the custom

Public: Init the module
def self.init
  ::Algolia.init(
    application_id: Configurator.application_id,
    api_key: Configurator.api_key
  )
  @index = ::Algolia::Index.new(Configurator.index_name)
  set_user_agent
  self
end