bobhr 0.5.19 → 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: 9ea22a54b23deffef8eeea565b355bf7569869725a4ddabe861ad252d6bfefd7
4
- data.tar.gz: 8d982347ca745e2476dcf3626259e082f45da66f7dc74a100909bb496d7476f0
3
+ metadata.gz: 44d99ff9c70b4e0c19b7ad831b444aaa3c0ac26a66889d39bc081b0d31ad5009
4
+ data.tar.gz: 37942d18e5100b5b97c0f1c447415788a0779de9f715c807c01e23d028676cbc
5
5
  SHA512:
6
- metadata.gz: 8bf89e3742d4da2d31087db199164db0bb0c25c5da783b6d5026fe87f1fc70abc8f0b52c650dc569b725406f607ffb9689da5c944a62b21786c2a8ab625b3cf5
7
- data.tar.gz: b3a5ce5f2587a09682ddf4c3b643e69bc2a624e6862e7499fa47c5fbbf4d034a983647191db184492176f073104385cd6457b99283a0772b64f1f078838f8f3b
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 })
@@ -75,7 +75,7 @@ module Models
75
75
  end
76
76
 
77
77
  def cost_center
78
- payroll.custom.field_1634476091511
78
+ human_readable.payroll.custom.field_1634476091511
79
79
  end
80
80
 
81
81
  def personal_email
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.19'
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.19
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-09-29 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