peoplegroup-connectors 0.4.4 → 0.4.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 101c7addebf908c56678952ea0a8c665593b1fee3b7e3d00de0c783df03e6e4b
|
4
|
+
data.tar.gz: 9ef4198e0b4d7913c298b7c38514e7b338dce126e300e4b2f7c7cf81c1515f4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66334d66920daa6d41fd660344e97712ea21d879fc5305761eebb0afeb78c5b887544bf18babf2c11ba996f1be1442e508478a3bf8d62d708870e48b164ed230
|
7
|
+
data.tar.gz: 6ba92c9135aae7e2212795b513d985fb7ecbf4802e6dc848c522627b95c8b7287d38e69c1238d49f359e2303cae26e3c9b6122943ba700ae507b15842c9cd41d
|
@@ -80,8 +80,8 @@ module PeopleGroup
|
|
80
80
|
@client.applications(application_id)
|
81
81
|
end
|
82
82
|
|
83
|
-
def has_active_application?(
|
84
|
-
|
83
|
+
def has_active_application?(work_email)
|
84
|
+
candidates(nil, { email: work_email })&.[]('applications')&.any? { |application| application['status'] == 'active' }
|
85
85
|
rescue RestClient::NotFound
|
86
86
|
nil # return nil if candidate could not be found
|
87
87
|
end
|
@@ -35,9 +35,9 @@ module PeopleGroup
|
|
35
35
|
@workers ||= safe_report(report_name: ENV['WORKDAY_WORKERS_REPORT'])
|
36
36
|
end
|
37
37
|
|
38
|
-
def eligibility_status(
|
38
|
+
def eligibility_status(work_email, salary_min, salary_max)
|
39
39
|
params = {
|
40
|
-
|
40
|
+
WorkEmail: work_email,
|
41
41
|
Salary_Min: salary_min,
|
42
42
|
Salary_Max: salary_max
|
43
43
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peoplegroup-connectors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lien van den steen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|