Skip to content

Commit

Permalink
add support for utr in autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
vvillait88 committed Dec 17, 2024
1 parent 4e4d677 commit 8056702
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://i.imgur.com/S7DkZtr.png" width="250" alt="People Data Labs Logo">
<img src="https://www.peopledatalabs.com/images/company-logo.png" style="background-color: white; padding: 5px 10px;" width="250" alt="People Data Labs Logo">
</p>
<h1 align="center">People Data Labs Ruby Library</h1>
<p align="center">Official Ruby client for the People Data Labs API.</p>
Expand Down
3 changes: 2 additions & 1 deletion lib/peopledatalabs/resources/autocomplete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

module Peopledatalabs
class Autocomplete < APIResource
def self.retrieve(field:, text: '', size: 10, pretty: false, titlecase: false)
def self.retrieve(field:, text: '', size: 10, pretty: false, titlecase: false, updated_title_roles: false)

params = {
'field' => field,
'text' => text,
'size' => size,
'pretty' => pretty,
'titlecase' => titlecase,
'updated_title_roles' => updated_title_roles,
};

headers = {
Expand Down
2 changes: 1 addition & 1 deletion lib/peopledatalabs/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Peopledatalabs
VERSION = "3.1.0"
VERSION = "3.2.0"
end

0 comments on commit 8056702

Please sign in to comment.