Class: Typesense::Debug

Inherits:
Object
  • Object
show all
Defined in:
lib/typesense/debug.rb

Constant Summary collapse

RESOURCE_PATH =
'/debug'

Instance Method Summary collapse

Constructor Details

#initialize(api_call) ⇒ Debug

Returns a new instance of Debug.



7
8
9
# File 'lib/typesense/debug.rb', line 7

def initialize(api_call)
  @api_call = api_call
end

Instance Method Details

#retrieveObject



11
12
13
# File 'lib/typesense/debug.rb', line 11

def retrieve
  @api_call.get(RESOURCE_PATH)
end