supersaas-api-client 2.0.2 → 2.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc3a5d539e1827aa01cbdf2c3da2c95c6bac7f5549b0ed7eb822ad3a07d3fdd0
4
- data.tar.gz: 9409059da0b64359a7e2727ab243ecda1a18c20b36ba000cd927cab47b3d7f0f
3
+ metadata.gz: 6a76aa1e660d7f1f2a1dc6e1dd18481c2e7c7e9379415bc0b51ca22b7dcb956b
4
+ data.tar.gz: f9a223e22689e31728453603e78f5b7dcfe5985f1e6008ffb6e30c7a93cef536
5
5
  SHA512:
6
- metadata.gz: ba6dced533e7f9a1eb282dd27047f87a6984409d8bd25971ecd05820f750f19072009e8d3474d619b0a79984a193f9ea672a61528832c40bd3d74d341a0feb23
7
- data.tar.gz: b2e84724bf11b5a6a2b07f9260bfa46a7a015aae1e329bde69e8eb009dd6fab3b3995f776df19370443f47b5b917e869dc8e4080a216d7900e7c321b8b11ee7c
6
+ metadata.gz: 849d3cf00e778f134a828bbeb12d446039471b50e858372c6838e99c8c5726f1f8d83700f43821e7249658608cc2159c979ec3a265f0846eff8bc3ff64f503ad
7
+ data.tar.gz: c7c203d37fc281821226b6d06da70abde33e3535a4111b2eb2149a8751f2b42abb9620777bc3f223f0a05c726d7f33b1c5ffc2299c01f785f3cfe8977c7abcad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- supersaas-api-client (2.0.2)
4
+ supersaas-api-client (2.0.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -45,7 +45,7 @@ module Supersaas
45
45
  form: form ? true : nil,
46
46
  start: start_time ? validate_datetime(start_time) : nil
47
47
  }
48
- params.merge!(maxresults: validate_number(limit)) if limit
48
+ params.merge!(limit: validate_number(limit)) if limit
49
49
  res = client.get(path, params)
50
50
  map_slots_or_bookings(res)
51
51
  end
@@ -134,8 +134,8 @@ module Supersaas
134
134
  limit = nil, offset = nil)
135
135
  path = "/range/#{validate_id(schedule_id)}"
136
136
  params = {}
137
- params.merge!(today: true) if today
138
137
  params = build_param(params, from_time, to, slot, user, limit, offset, resource_id, service_id)
138
+ params.merge!(today: true) if today
139
139
  res = client.get(path, params)
140
140
  map_slots_or_bookings(res)
141
141
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Supersaas
4
4
  API_VERSION = '3'
5
- VERSION = '2.0.2'
5
+ VERSION = '2.0.4'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: supersaas-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaarle Kulvik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-07 00:00:00.000000000 Z
11
+ date: 2024-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler