Skip to content

Commit

Permalink
Add options to GET /collections endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbosco committed Aug 5, 2024
1 parent cc6f97a commit bf829be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/typesense/collections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def create(schema)
@api_call.post(RESOURCE_PATH, schema)
end

def retrieve
@api_call.get(RESOURCE_PATH)
def retrieve(options = {})
@api_call.get(RESOURCE_PATH, options)
end

def [](collection_name)
Expand Down
2 changes: 1 addition & 1 deletion lib/typesense/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Typesense
VERSION = '1.0.0'
VERSION = '1.1.0'
end

0 comments on commit bf829be

Please sign in to comment.