Skip to content

Commit 519064a

Browse files
committed
feat: update ruby query classes
1 parent 71d3617 commit 519064a

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

templates/ruby/lib/container/query.rb.twig

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,23 @@ module {{spec.title | caseUcfirst}}
88
def notEqual(attribute, value)
99
return addQuery(attribute, "notEqual", value)
1010
end
11-
def lesser(attribute, value)
12-
return addQuery(attribute, "lesser", value)
11+
12+
def lessThan(attribute, value)
13+
return addQuery(attribute, "lessThan", value)
1314
end
14-
def lesserEqual(attribute, value)
15-
return addQuery(attribute, "lesserEqual", value)
15+
16+
def lessThanEqual(attribute, value)
17+
return addQuery(attribute, "lessThanEqual", value)
1618
end
17-
def greater(attribute, value)
18-
return addQuery(attribute, "greater", value)
19+
20+
def greaterThan(attribute, value)
21+
return addQuery(attribute, "greaterThan", value)
1922
end
20-
def greaterEqual(attribute, value)
21-
return addQuery(attribute, "equal", value)
23+
24+
def greaterThanEqual(attribute, value)
25+
return addQuery(attribute, "greaterThanEqual", value)
2226
end
27+
2328
def search(attribute, value)
2429
return addQuery(attribute, "search", value)
2530
end

0 commit comments

Comments
 (0)