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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8c2dbce2a29b1cbea28d746c699bdebedf1975662c8a5560e068a5e13a41fb2
4
- data.tar.gz: 4baffb042fa6fae3be5af2380a34b2ca09a740c6e43e384e2cf615690055d1aa
3
+ metadata.gz: 44d99ff9c70b4e0c19b7ad831b444aaa3c0ac26a66889d39bc081b0d31ad5009
4
+ data.tar.gz: 37942d18e5100b5b97c0f1c447415788a0779de9f715c807c01e23d028676cbc
5
5
  SHA512:
6
- metadata.gz: ec8d5741876e58f7587e70f9c872a4c238c4de0e3544c16592a43dcb5e5d67e82348d3d652ac960aa05e4d8031d528856dc5b1451de09500ab7450e8442f6078
7
- data.tar.gz: 92585569a52c715a290dbb8a19b299fc79a647ec33cd3b4a413a86f296b25d232f55d3cf4c728a9b68b785f16426f4cd3d2360994d6e70ac0e130addd2828a37
6
+ metadata.gz: f001bce9464e6ba434cbc6b1a1f1c0e39453d8c16aba5163861f15d309fc1cbdf4788734e5f648dc3fe90972b1e5957b70a6f65a3240e2456f32d7135ecc8f76
7
+ data.tar.gz: 85adc493514b74bd544bb76eb7e16a118ab0f60b15eb73571ae51b6aa357b080e0511e025fc1749c173d7625b967a841ef2f0ecc1b4afc514dba73bb616812ee
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bob
4
- VERSION = '0.5.20'
4
+ VERSION = '0.5.21'
5
5
  end
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.20
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-12 00:00:00.000000000 Z
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.2.31
137
+ rubygems_version: 3.3.7
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Ruby gem for Bob API