Skip to content

Commit 9201867

Browse files
fix(specs): support synonyms type in camel case [skip-bc] (generated)
algolia/api-clients-automation#4031 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 095aa04 commit 9201867

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

lib/algolia/models/search/synonym_type.rb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,21 @@ class SynonymType
1111
ALTCORRECTION1 = "altcorrection1".freeze
1212
ALTCORRECTION2 = "altcorrection2".freeze
1313
PLACEHOLDER = "placeholder".freeze
14+
ONE_WAY_SYNONYM = "oneWaySynonym".freeze
15+
ALT_CORRECTION1 = "altCorrection1".freeze
16+
ALT_CORRECTION2 = "altCorrection2".freeze
1417

1518
def self.all_vars
16-
@all_vars ||= [SYNONYM, ONEWAYSYNONYM, ALTCORRECTION1, ALTCORRECTION2, PLACEHOLDER].freeze
19+
@all_vars ||= [
20+
SYNONYM,
21+
ONEWAYSYNONYM,
22+
ALTCORRECTION1,
23+
ALTCORRECTION2,
24+
PLACEHOLDER,
25+
ONE_WAY_SYNONYM,
26+
ALT_CORRECTION1,
27+
ALT_CORRECTION2
28+
].freeze
1729
end
1830

1931
# Builds the enum from string

0 commit comments

Comments
 (0)