bobhr 0.5.20 → 0.5.21
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/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: 44d99ff9c70b4e0c19b7ad831b444aaa3c0ac26a66889d39bc081b0d31ad5009
|
4
|
+
data.tar.gz: 37942d18e5100b5b97c0f1c447415788a0779de9f715c807c01e23d028676cbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f001bce9464e6ba434cbc6b1a1f1c0e39453d8c16aba5163861f15d309fc1cbdf4788734e5f648dc3fe90972b1e5957b70a6f65a3240e2456f32d7135ecc8f76
|
7
|
+
data.tar.gz: 85adc493514b74bd544bb76eb7e16a118ab0f60b15eb73571ae51b6aa357b080e0511e025fc1749c173d7625b967a841ef2f0ecc1b4afc514dba73bb616812ee
|
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/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.21
|
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-10-
|
11
|
+
date: 2022-10-26 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
|