Skip to content

Commit

Permalink
fix(specs): add ignoreConjugations to AlternativesAsExact [skip-b…
Browse files Browse the repository at this point in the history
…c] (generated)

algolia/api-clients-automation#4230

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Dec 11, 2024
1 parent 3334832 commit 0e34a8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/algolia/models/recommend/alternatives_as_exact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ class AlternativesAsExact
IGNORE_PLURALS = "ignorePlurals".freeze
SINGLE_WORD_SYNONYM = "singleWordSynonym".freeze
MULTI_WORDS_SYNONYM = "multiWordsSynonym".freeze
IGNORE_CONJUGATIONS = "ignoreConjugations".freeze

def self.all_vars
@all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM].freeze
@all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM, IGNORE_CONJUGATIONS].freeze
end

# Builds the enum from string
Expand Down
3 changes: 2 additions & 1 deletion lib/algolia/models/search/alternatives_as_exact.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ class AlternativesAsExact
IGNORE_PLURALS = "ignorePlurals".freeze
SINGLE_WORD_SYNONYM = "singleWordSynonym".freeze
MULTI_WORDS_SYNONYM = "multiWordsSynonym".freeze
IGNORE_CONJUGATIONS = "ignoreConjugations".freeze

def self.all_vars
@all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM].freeze
@all_vars ||= [IGNORE_PLURALS, SINGLE_WORD_SYNONYM, MULTI_WORDS_SYNONYM, IGNORE_CONJUGATIONS].freeze
end

# Builds the enum from string
Expand Down

0 comments on commit 0e34a8e

Please sign in to comment.