Class: Typesense::StemmingDictionary
- Inherits:
-
Object
- Object
- Typesense::StemmingDictionary
- Defined in:
- lib/typesense/stemming_dictionary.rb
Instance Method Summary collapse
-
#initialize(id, api_call) ⇒ StemmingDictionary
constructor
A new instance of StemmingDictionary.
- #retrieve ⇒ Object
Constructor Details
#initialize(id, api_call) ⇒ StemmingDictionary
Returns a new instance of StemmingDictionary.
5 6 7 8 |
# File 'lib/typesense/stemming_dictionary.rb', line 5 def initialize(id, api_call) @dict_id = id @api_call = api_call end |
Instance Method Details
#retrieve ⇒ Object
10 11 12 |
# File 'lib/typesense/stemming_dictionary.rb', line 10 def retrieve @api_call.get(endpoint_path) end |