Skip to content

Commit bf829be

Browse files
committed
Add options to GET /collections endpoint
1 parent cc6f97a commit bf829be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/typesense/collections.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def create(schema)
1313
@api_call.post(RESOURCE_PATH, schema)
1414
end
1515

16-
def retrieve
17-
@api_call.get(RESOURCE_PATH)
16+
def retrieve(options = {})
17+
@api_call.get(RESOURCE_PATH, options)
1818
end
1919

2020
def [](collection_name)

lib/typesense/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Typesense
4-
VERSION = '1.0.0'
4+
VERSION = '1.1.0'
55
end

0 commit comments

Comments
 (0)