Class: Typesense::Debug
- Inherits:
-
Object
- Object
- Typesense::Debug
- Defined in:
- lib/typesense/debug.rb
Constant Summary collapse
- RESOURCE_PATH =
'/debug'
Instance Method Summary collapse
-
#initialize(api_call) ⇒ Debug
constructor
A new instance of Debug.
- #retrieve ⇒ Object
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
#retrieve ⇒ Object
11 12 13 |
# File 'lib/typesense/debug.rb', line 11 def retrieve @api_call.get(RESOURCE_PATH) end |