booker_ruby 1.10.1 → 1.10.2

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
  SHA1:
3
- metadata.gz: 25875e2b46e94f776cc677f230b375bfc28920cc
4
- data.tar.gz: 577c7240659bb4f88ac9c9dd3979d788e6db5c11
3
+ metadata.gz: 704e1a93b0cc74fd4e44b939f2347082d6b8c07d
4
+ data.tar.gz: 1bd94b15d0ea4a15172a15a4362255a52e4c16b3
5
5
  SHA512:
6
- metadata.gz: a865aa69b5fc55d6f4f6372eb8827a6479c1fd712ff05d87b8796f918d6528b2cc084f7e84fc1107b3b8a991d17e714613e218ed3e5dafa1d1edbff1818a887a
7
- data.tar.gz: ce95e85859a7bdd68eaf72af939c7d1fa1d5a6c7be2a33ff32883723853d420f93da7a3826a087bf7b0b02217bd87dd59babae18425d1e453098444a73e6cc05
6
+ metadata.gz: c95d3ee60e568b9a00d2b9c372d784f28c01121c8ea7a3145ea3c36e4b8938319dbd1a3d4da8c40ee3d724ec459b6ce17c748536697081af8da914970cef6f5e
7
+ data.tar.gz: e7825e09c97af96a303cd36721ec2455378e14d37f3fb5e201adffb7ae54d50245065b5aa2ac551a5346af3e7b7c7d4fdb0ad8ea68e63ca06878e9abea50895c
@@ -10,11 +10,6 @@ module Booker
10
10
  result
11
11
  end
12
12
 
13
- def get_location(booker_location_id:)
14
- response = get("/location/#{booker_location_id}", build_params)
15
- Booker::Models::Location.from_hash(response)
16
- end
17
-
18
13
  def get_location_day_schedules(booker_location_id:, params: {})
19
14
  # Booker requires fromDate and toDate for JSON API, but does not use them when getDefaultDaySchedule is true
20
15
  # So datetime used for these fields does not matter
@@ -15,6 +15,11 @@ module Booker
15
15
  put '/appointment/confirm', build_params('ID' => appointment_id), Booker::Models::Appointment
16
16
  end
17
17
 
18
+ def get_location(booker_location_id:)
19
+ response = get("/location/#{booker_location_id}", build_params)
20
+ Booker::Models::Location.from_hash(response)
21
+ end
22
+
18
23
  private
19
24
 
20
25
  def build_params(default_params={}, overrides={}, paginated=false)
@@ -1,3 +1,3 @@
1
1
  module Booker
2
- VERSION = '1.10.1'
2
+ VERSION = '1.10.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: booker_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederick