bobhr 0.5.10 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bob/api/employee/lifecycle_history.rb +12 -0
- data/lib/bob/api/employees.rb +1 -0
- data/lib/bob/models/lifecycle_history.rb +6 -0
- data/lib/bob/models.rb +1 -0
- data/lib/bob/parsers/lifecycle_history_parser.rb +7 -0
- data/lib/bob/parsers.rb +1 -0
- data/lib/bob/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 825527923439ead3067a1642f7f52a596ff1587cb282973eb427c413657e3b85
|
4
|
+
data.tar.gz: 35fd1616c04900e98536f470072c575f31ab70f8f4ebdf780ba16d466418b561
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7a574ea9c83d927509842630d0968c6ee168bc772536ba9c6c7f067f7b3bcadede9c2eed53b2d445dd0ea9be6a1cd1cfe1622ede6c65a11868e54481fa7457
|
7
|
+
data.tar.gz: e2ddd07b3d3f6bdc5d0053bd427a1d47fb03dad86a581f5652ede10bab0a7efea11dff52b4a58e689a8a43ec244b756fd0e7e60e5de33af67c0b430490d6e845
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Bob
|
4
|
+
module Employee
|
5
|
+
class LifecycleHistory < API
|
6
|
+
def self.all(employee_id)
|
7
|
+
response = get("people/#{employee_id}/lifecycle")
|
8
|
+
LifecycleHistoryParser.new(response).lifecycle_histories
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
data/lib/bob/api/employees.rb
CHANGED
data/lib/bob/models.rb
CHANGED
data/lib/bob/parsers.rb
CHANGED
data/lib/bob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bobhr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.11
|
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-05-
|
11
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- lib/bob/api/employee/documents.rb
|
67
67
|
- lib/bob/api/employee/equity_grants.rb
|
68
68
|
- lib/bob/api/employee/invites.rb
|
69
|
+
- lib/bob/api/employee/lifecycle_history.rb
|
69
70
|
- lib/bob/api/employee/salaries.rb
|
70
71
|
- lib/bob/api/employee/trainings.rb
|
71
72
|
- lib/bob/api/employee/variable_payments.rb
|
@@ -84,6 +85,7 @@ files:
|
|
84
85
|
- lib/bob/models/company_list.rb
|
85
86
|
- lib/bob/models/employee.rb
|
86
87
|
- lib/bob/models/equity_grant.rb
|
88
|
+
- lib/bob/models/lifecycle_history.rb
|
87
89
|
- lib/bob/models/onboarding_wizard.rb
|
88
90
|
- lib/bob/models/salary.rb
|
89
91
|
- lib/bob/models/time_off.rb
|
@@ -96,6 +98,7 @@ files:
|
|
96
98
|
- lib/bob/parsers/company_list_parser.rb
|
97
99
|
- lib/bob/parsers/employee_parser.rb
|
98
100
|
- lib/bob/parsers/equity_grant_parser.rb
|
101
|
+
- lib/bob/parsers/lifecycle_history_parser.rb
|
99
102
|
- lib/bob/parsers/onboarding_wizard_parser.rb
|
100
103
|
- lib/bob/parsers/salary_parser.rb
|
101
104
|
- lib/bob/parsers/time_off_parser.rb
|