booker_ruby 3.3.15 → 3.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/booker/v4.1/merchant.rb +4 -0
- data/lib/booker/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04e10c43a13220bb217e1c46dfdc00ef8a3d92b86017e0202f1bdf69093917ed
|
|
4
|
+
data.tar.gz: 449c88b376debb738919c7a578fa371895b3eb86937305ca55a0c8491566d156
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7abd012ead3a462a34237958a4b688839c89a813d61b844a8bcbd915f2ae2d1fa8486ec1844b52e7b606ecdb74b97bdc571e8489eb674cee499820a4e2d71448
|
|
7
|
+
data.tar.gz: b07a9cf45f3a9f779d42377864b9b3865354a7ccaa5453a891a308b246f7637a9629b0b56c3b7bd1b016b0756526e68aaf56c70661fda7776c7d48f58b865da3
|
data/lib/booker/v4.1/merchant.rb
CHANGED
|
@@ -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,
|
data/lib/booker/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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: []
|