bobhr 0.5.20 → 0.5.22
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/employees.rb +4 -0
- data/lib/bob/models/employee.rb +2 -2
- data/lib/bob/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65cd9f915b533cbffabb497fe9ed79d14b425bd4f97975a26600eb17f84aa5c9
|
4
|
+
data.tar.gz: f0ab5138416ade30cef2c9fc2cf71b1fecba59c0cdc5341306e6e7f86b0c75cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b135abbcfa70dcd7cdf9d160cd989c326e596e70433d8bc098aa85073cf69c456d9efbf15331119b6b223661d5ad2af6a876b74aab078b32761dae47ecbd153
|
7
|
+
data.tar.gz: 15eee4533959d1221b107c309799bba14e8790c4e9c2c9ce4f6a644d8f4c73d4c95e5a46b97f0a6c77af0c2d7ead688e2d05fbcb43a8840cbf6febcd9f24c9ed
|
data/lib/bob/api/employees.rb
CHANGED
@@ -48,6 +48,10 @@ module Bob
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
+
def self.update(employee_id:, params:)
|
52
|
+
put("people/#{employee_id}", params)
|
53
|
+
end
|
54
|
+
|
51
55
|
# start date needs to be in ISO format
|
52
56
|
def self.update_start_date(employee_id, start_date)
|
53
57
|
post("employees/#{employee_id}", { startDate: start_date })
|
data/lib/bob/models/employee.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.22
|
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-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
|
-
rubygems_version: 3.
|
137
|
+
rubygems_version: 3.3.7
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Ruby gem for Bob API
|