peoplegroup-connectors 0.3.3 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e11fbbfc05fdf0efd7656c6161148a5036a67c5c44b0adda3a285c95a39fc452
4
- data.tar.gz: 552756cc48b2a412070ed3a0082fe531fb67d42a3e952a02560a7f2a48ce0b9e
3
+ metadata.gz: d7ea0fb60cf8904acdc70b3536b57e6fa800bdde94114c77c0dc4e1d58247812
4
+ data.tar.gz: 027d82d51fb70dd1be04a0ba6c31c04ca9e350a9f82543e006729a37b106127f
5
5
  SHA512:
6
- metadata.gz: 02a76c3196fbac31dc392ddcdc7c074913ab24bb6f3d1415da7a799ffde049ca26ab887921e4ef2fdc4e7a3b3635051db887fabef96e40b94167012bfc46a1b1
7
- data.tar.gz: 16fc5211cc8ab8a27e1225d60fee358dbe693eab41202cb096164bf14b3a9adba751ad8d0bf19781172e7d98d96a366fe296ca4a9de00d1b0d014b17e10eb637
6
+ metadata.gz: 94591f8aeea81ea77cfe2d5027f534b19ce21185f2dc6724b693098da67e9e4c0bc769e90c647a082a3a50b2632fae118e21312110941eb7970c5d5ff615b1b9
7
+ data.tar.gz: c7c7f69af5baa0951c0dcf308a1eb5ab2d03407d668724016b26d668328a3ec432d64de2432d8acf04f7207cd7fb20f00f94da25fe59e4b0d779e97d5c2816b6
@@ -268,6 +268,10 @@ module PeopleGroup
268
268
  def departments
269
269
  @workday.departments
270
270
  end
271
+
272
+ def eligibility_status(employee_number)
273
+ @workday.eligibility_status(employee_number)
274
+ end
271
275
  end
272
276
  end
273
277
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PeopleGroup
4
4
  module Connectors
5
- VERSION = '0.3.3'
5
+ VERSION = '0.4.3'
6
6
  end
7
7
  end
@@ -35,6 +35,10 @@ module PeopleGroup
35
35
  @workers ||= safe_report(report_name: ENV['WORKDAY_WORKERS_REPORT'])
36
36
  end
37
37
 
38
+ def eligibility_status(employee_number)
39
+ safe_report(report_name: ENV['WORKDAY_ELIGIBILITY_REPORT'], params: { Employee_ID: employee_number })&.first
40
+ end
41
+
38
42
  # Grabs manager history for the specified team member or all team members.
39
43
  # @return <PeopleGroup::Connectors::Models::ObjectifiedHash>
40
44
  # keys:
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.3.3
4
+ version: 0.4.3
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: 2022-07-07 00:00:00.000000000 Z
11
+ date: 2023-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.13
75
+ version: 0.2.14
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.2.13
82
+ version: 0.2.14
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: greenhouse_io-gitlab
85
85
  requirement: !ruby/object:Gem::Requirement