booker_ruby 3.3.15 → 3.3.16

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: 513901ea61d46fb2627dbf2832aaf50a32c486e6033c8b58aaf89a1c49d37c73
4
- data.tar.gz: 99b08afcac63f583be1190f369117bd6c89da59ba3bb3564b7af943737c40173
3
+ metadata.gz: 04e10c43a13220bb217e1c46dfdc00ef8a3d92b86017e0202f1bdf69093917ed
4
+ data.tar.gz: 449c88b376debb738919c7a578fa371895b3eb86937305ca55a0c8491566d156
5
5
  SHA512:
6
- metadata.gz: bf91284325c8308e96b93c5c5caabc61d4c28c62e1bfec94f6f4ec6c32c7c7ce7ce53ec03adbac3a0aea088cec3bdcf8604d616a9ec13fada7267684a56118c1
7
- data.tar.gz: 2dcab1cab3814be62ca6c45517d389bed9593ebc58a6181bd548f360d3721f3c4d7e06d89285b9944d21f787a3438df46a60c80c568d8d2febe7126c46160668
6
+ metadata.gz: 7abd012ead3a462a34237958a4b688839c89a813d61b844a8bcbd915f2ae2d1fa8486ec1844b52e7b606ecdb74b97bdc571e8489eb674cee499820a4e2d71448
7
+ data.tar.gz: b07a9cf45f3a9f779d42377864b9b3865354a7ccaa5453a891a308b246f7637a9629b0b56c3b7bd1b016b0756526e68aaf56c70661fda7776c7d48f58b865da3
@@ -62,6 +62,10 @@ module Booker
62
62
  )
63
63
  end
64
64
 
65
+ def employee(id:, params: {}, model: Booker::V4::Models::Employee)
66
+ get("#{V41_PREFIX}/employee/#{id}", build_params({}, params), model)
67
+ end
68
+
65
69
  def employees(location_id:, fetch_all: true, params: {})
66
70
  paginated_request(
67
71
  method: :post,
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '3.3.15'
2
+ VERSION = '3.3.16'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booker_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.15
4
+ version: 3.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederick
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-04 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: 1.0.2
139
- description:
139
+ description:
140
140
  email:
141
141
  - tech@hirefrederick.com
142
142
  executables: []
@@ -230,7 +230,7 @@ homepage: https://github.com/hirefrederick/booker_ruby
230
230
  licenses:
231
231
  - MIT
232
232
  metadata: {}
233
- post_install_message:
233
+ post_install_message:
234
234
  rdoc_options: []
235
235
  require_paths:
236
236
  - lib
@@ -245,8 +245,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  - !ruby/object:Gem::Version
246
246
  version: '0'
247
247
  requirements: []
248
- rubygems_version: 3.0.6
249
- signing_key:
248
+ rubygems_version: 3.1.2
249
+ signing_key:
250
250
  specification_version: 4
251
251
  summary: Ruby client for the Booker API - https://developers.booker.com
252
252
  test_files: []