bobhr 0.3.0 → 0.3.1

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: 49f184d406b6d8d4ca486575bf5a5128d5bfdddade6b16ddbdc05d167b639c1e
4
- data.tar.gz: 54291512a0368b35ee9ad1f6bf06ce2423a0f53cee26ec369944951cd1138ae9
3
+ metadata.gz: c3504b4eefff6d8cc05ed3c3923eeefc330f288b8f9d32e0ff8f2691766134a0
4
+ data.tar.gz: b1ebbf91032ca22200fe91a8938b8023b5074eb22a2965b5fa16031732e3b14a
5
5
  SHA512:
6
- metadata.gz: ad5429acf3625d89a60241df8ccfb3125c25d8db0f2d5cbe00a36e0c7c7629b317f5d988a8548c3bd1c4904e7453d3cf96ec9883e444cb367cc0ffe2e7dd963f
7
- data.tar.gz: abfe38397ae9647c606c99eaad0ff04f913452519073c168c970525ccdaa42a5aab928210f0484b51ce3e3e661a2e60ef7aac6f2d0ba92d012d80f2167692412
6
+ metadata.gz: 8794c075badea60efabde4eadb578211606dbc9157cb76119707fd60d702b103f21015ce2b5b6cb40acccb5431c19d0058af8b56e4da419c6b3b32616c90e270
7
+ data.tar.gz: bb3abb4bfeb5c65cfc0a825efa9768575d31a95bf1e220f704b6add3e7c12b7acbb2ecd9b6e0688c2d80bbb7b456f0df4ce81c03b917e358cc796e4cd1af338a
data/lib/bob/time_off.rb CHANGED
@@ -9,5 +9,9 @@ module Bob
9
9
  def self.today
10
10
  get('timeoff/outtoday')
11
11
  end
12
+
13
+ def self.find_for_employee(employee_id, request_id)
14
+ get("timeoff/employees/#{employee_id}/requests/#{request_id}")
15
+ end
12
16
  end
13
17
  end
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.3.0'
4
+ VERSION = '0.3.1'
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.3.0
4
+ version: 0.3.1
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-01-05 00:00:00.000000000 Z
11
+ date: 2022-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json