peopledatalabs 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ce4516616e89b330f476fe5a1c71aa2e2a30e53cfee3100ce5630114dffb9cd
4
- data.tar.gz: e22ce292220c7a926a4f07bad06b5f16b0f6dae1ce1aa51394cbb55202e572e9
3
+ metadata.gz: 4706a0e973a7fbf0edaf2af4a09bc2410bfb1cebf6a0614f8e5b49438934b99c
4
+ data.tar.gz: 5cc23af16d53e113ec46996925d2b6da3154d970e19a15dea7b655e20feee84c
5
5
  SHA512:
6
- metadata.gz: 926ad96cdc7be21cd2ccbbfc97a145562519d52cc4517a7a9a3c0633f888f6b224436508106421d8a85fd13df1fd7fb2da282432ac9cafe2cad371fffa366d42
7
- data.tar.gz: 67c7f930c1b1743436b79dcaa342135a7939b9526ea19e86897add26dc3203aca9621e78177737ff9c64cd7a27e734740469e0cfd2c8c24dd66e7178f5d41e14
6
+ metadata.gz: 00635f74cdaa0a68b7c20bebdccaef4afbd0723f871eaa6b94ea13ea569b7334e3a134761e175a48b1374a24daf696e9eb4f878092d0c3df5deaf962ddcdfd92
7
+ data.tar.gz: 4721ccafcc7da398757f1ee01b8ad4326f8f4c39707b308d37ea1a55a2415a1889634d0df5a33a4b41f5a3f9faef9e4009635d2e027351d33ab3bc15e7caef33
@@ -15,6 +15,7 @@ module Peopledatalabs
15
15
  headers = {
16
16
  'Accept-Encoding' => 'gzip',
17
17
  'User-Agent' => 'PDL-RUBY-SDK',
18
+ 'SDK-Version' => Peopledatalabs::VERSION,
18
19
  }
19
20
  get(path: '/v5/autocomplete', headers: headers, params: params)
20
21
  end
@@ -6,6 +6,7 @@ module Peopledatalabs
6
6
  headers = {
7
7
  'Accept-Encoding' => 'gzip',
8
8
  'User-Agent' => 'PDL-RUBY-SDK',
9
+ 'SDK-Version' => Peopledatalabs::VERSION,
9
10
  }
10
11
  post(path: '/v5/person/bulk', headers: headers, body: params)
11
12
  end
@@ -14,6 +15,7 @@ module Peopledatalabs
14
15
  headers = {
15
16
  'Accept-Encoding' => 'gzip',
16
17
  'User-Agent' => 'PDL-RUBY-SDK',
18
+ 'SDK-Version' => Peopledatalabs::VERSION,
17
19
  }
18
20
  post(path: '/v5/company/enrich/bulk', headers: headers, body: params)
19
21
  end
@@ -6,6 +6,7 @@ module Peopledatalabs
6
6
  headers = {
7
7
  'Accept-Encoding' => 'gzip',
8
8
  'User-Agent' => 'PDL-RUBY-SDK',
9
+ 'SDK-Version' => Peopledatalabs::VERSION,
9
10
  }
10
11
 
11
12
  stringified_params = params.transform_keys(&:to_s)
@@ -6,6 +6,7 @@ module Peopledatalabs
6
6
  headers = {
7
7
  'Accept-Encoding' => 'gzip',
8
8
  'User-Agent' => 'PDL-RUBY-SDK',
9
+ 'SDK-Version' => Peopledatalabs::VERSION,
9
10
  }
10
11
  get(path: '/v5/company/clean', headers: headers, params: { kind => value })
11
12
  end
@@ -14,6 +15,7 @@ module Peopledatalabs
14
15
  headers = {
15
16
  'Accept-Encoding' => 'gzip',
16
17
  'User-Agent' => 'PDL-RUBY-SDK',
18
+ 'SDK-Version' => Peopledatalabs::VERSION,
17
19
  }
18
20
  get(path: '/v5/school/clean', headers: headers, params: { kind => value })
19
21
  end
@@ -22,6 +24,7 @@ module Peopledatalabs
22
24
  headers = {
23
25
  'Accept-Encoding' => 'gzip',
24
26
  'User-Agent' => 'PDL-RUBY-SDK',
27
+ 'SDK-Version' => Peopledatalabs::VERSION,
25
28
  }
26
29
  get(path: '/v5/location/clean', headers: headers, params: { 'location' => value })
27
30
  end
@@ -6,6 +6,7 @@ module Peopledatalabs
6
6
  headers = {
7
7
  'Accept-Encoding' => 'gzip',
8
8
  'User-Agent' => 'PDL-RUBY-SDK',
9
+ 'SDK-Version' => Peopledatalabs::VERSION,
9
10
  }
10
11
  get(path: '/v5/person/enrich', headers: headers, params: params)
11
12
  end
@@ -14,6 +15,7 @@ module Peopledatalabs
14
15
  headers = {
15
16
  'Accept-Encoding' => 'gzip',
16
17
  'User-Agent' => 'PDL-RUBY-SDK',
18
+ 'SDK-Version' => Peopledatalabs::VERSION,
17
19
  }
18
20
  get(path: '/v5/company/enrich', headers: headers, params: params)
19
21
  end
@@ -30,6 +32,7 @@ module Peopledatalabs
30
32
  headers = {
31
33
  'Accept-Encoding' => 'gzip',
32
34
  'User-Agent' => 'PDL-RUBY-SDK',
35
+ 'SDK-Version' => Peopledatalabs::VERSION,
33
36
  }
34
37
  get(path: '/v5/ip/enrich', headers: headers, params: params)
35
38
  end
@@ -6,6 +6,7 @@ module Peopledatalabs
6
6
  headers = {
7
7
  'Accept-Encoding' => 'gzip',
8
8
  'User-Agent' => 'PDL-RUBY-SDK',
9
+ 'SDK-Version' => Peopledatalabs::VERSION,
9
10
  }
10
11
  get(path: '/v5/person/identify', headers: headers, params: params)
11
12
  end
@@ -13,6 +13,7 @@ module Peopledatalabs
13
13
  headers = {
14
14
  'Accept-Encoding' => 'gzip',
15
15
  'User-Agent' => 'PDL-RUBY-SDK',
16
+ 'SDK-Version' => Peopledatalabs::VERSION,
16
17
  }
17
18
  get(path: '/v5/job_title/enrich', headers: headers, params: params)
18
19
  end
@@ -6,6 +6,7 @@ module Peopledatalabs
6
6
  headers = {
7
7
  'Accept-Encoding' => 'gzip',
8
8
  'User-Agent' => 'PDL-RUBY-SDK',
9
+ 'SDK-Version' => Peopledatalabs::VERSION,
9
10
  }
10
11
  get(path: "/v5/person/retrieve/#{person_id}", headers: headers, params: { 'pretty' => pretty })
11
12
  end
@@ -36,6 +36,7 @@ module Peopledatalabs
36
36
  headers = {
37
37
  'Accept-Encoding' => 'gzip',
38
38
  'User-Agent' => 'PDL-RUBY-SDK',
39
+ 'SDK-Version' => Peopledatalabs::VERSION,
39
40
  }
40
41
  post(path: "/v5/#{kind}/search", headers: headers, body: body)
41
42
  end
@@ -1,3 +1,3 @@
1
1
  module Peopledatalabs
2
- VERSION = "5.2.0"
2
+ VERSION = "5.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peopledatalabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - People Data Labs