square.rb 24.0.0.20221019 → 26.0.0.20221214

Sign up to get free protection for your applications and to get access to all the features.
data/lib/square/client.rb CHANGED
@@ -4,7 +4,7 @@ module Square
4
4
  attr_reader :config
5
5
 
6
6
  def sdk_version
7
- '24.0.0.20221019'
7
+ '26.0.0.20221214'
8
8
  end
9
9
 
10
10
  def square_version
@@ -51,6 +51,12 @@ module Square
51
51
  @bookings ||= BookingsApi.new config
52
52
  end
53
53
 
54
+ # Access to booking_custom_attributes controller.
55
+ # @return [BookingCustomAttributesApi] Returns the controller instance.
56
+ def booking_custom_attributes
57
+ @booking_custom_attributes ||= BookingCustomAttributesApi.new config
58
+ end
59
+
54
60
  # Access to cards controller.
55
61
  # @return [CardsApi] Returns the controller instance.
56
62
  def cards
@@ -177,6 +183,12 @@ module Square
177
183
  @orders ||= OrdersApi.new config
178
184
  end
179
185
 
186
+ # Access to order_custom_attributes controller.
187
+ # @return [OrderCustomAttributesApi] Returns the controller instance.
188
+ def order_custom_attributes
189
+ @order_custom_attributes ||= OrderCustomAttributesApi.new config
190
+ end
191
+
180
192
  # Access to payments controller.
181
193
  # @return [PaymentsApi] Returns the controller instance.
182
194
  def payments
@@ -242,7 +254,7 @@ module Square
242
254
  retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
243
255
  retry_methods: %i[get put], environment: 'production',
244
256
  custom_url: 'https://connect.squareup.com',
245
- square_version: '2022-10-19', access_token: '',
257
+ square_version: '2022-12-14', access_token: '',
246
258
  user_agent_detail: '', additional_headers: {}, config: nil)
247
259
  @config = if config.nil?
248
260
  Configuration.new(connection: connection, adapter: adapter,
@@ -20,7 +20,7 @@ module Square
20
20
  retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
21
21
  retry_methods: %i[get put], environment: 'production',
22
22
  custom_url: 'https://connect.squareup.com',
23
- square_version: '2022-10-19', access_token: '',
23
+ square_version: '2022-12-14', access_token: '',
24
24
  user_agent_detail: '', additional_headers: {})
25
25
  # The Faraday connection object passed by the SDK user for making requests
26
26
  @connection = connection
data/lib/square.rb CHANGED
@@ -37,6 +37,7 @@ require_relative 'square/api/v1_transactions_api'
37
37
  require_relative 'square/api/apple_pay_api'
38
38
  require_relative 'square/api/bank_accounts_api'
39
39
  require_relative 'square/api/bookings_api'
40
+ require_relative 'square/api/booking_custom_attributes_api'
40
41
  require_relative 'square/api/cards_api'
41
42
  require_relative 'square/api/cash_drawers_api'
42
43
  require_relative 'square/api/catalog_api'
@@ -58,6 +59,7 @@ require_relative 'square/api/transactions_api'
58
59
  require_relative 'square/api/loyalty_api'
59
60
  require_relative 'square/api/merchants_api'
60
61
  require_relative 'square/api/orders_api'
62
+ require_relative 'square/api/order_custom_attributes_api'
61
63
  require_relative 'square/api/payments_api'
62
64
  require_relative 'square/api/payouts_api'
63
65
  require_relative 'square/api/refunds_api'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: square.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 24.0.0.20221019
4
+ version: 26.0.0.20221214
5
5
  platform: ruby
6
6
  authors:
7
7
  - Square Developer Platform
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-19 00:00:00.000000000 Z
11
+ date: 2022-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -182,9 +182,9 @@ dependencies:
182
182
  - - "~>"
183
183
  - !ruby/object:Gem::Version
184
184
  version: '1.0'
185
- description: Use Square APIs to manage and run business including payment, customer,
186
- product, inventory, and employee management.
187
- email: developers@squareup.com
185
+ description: ''
186
+ email:
187
+ - developers@squareup.com
188
188
  executables: []
189
189
  extensions: []
190
190
  extra_rdoc_files: []
@@ -195,6 +195,7 @@ files:
195
195
  - lib/square/api/apple_pay_api.rb
196
196
  - lib/square/api/bank_accounts_api.rb
197
197
  - lib/square/api/base_api.rb
198
+ - lib/square/api/booking_custom_attributes_api.rb
198
199
  - lib/square/api/bookings_api.rb
199
200
  - lib/square/api/cards_api.rb
200
201
  - lib/square/api/cash_drawers_api.rb
@@ -217,6 +218,7 @@ files:
217
218
  - lib/square/api/merchants_api.rb
218
219
  - lib/square/api/mobile_authorization_api.rb
219
220
  - lib/square/api/o_auth_api.rb
221
+ - lib/square/api/order_custom_attributes_api.rb
220
222
  - lib/square/api/orders_api.rb
221
223
  - lib/square/api/payments_api.rb
222
224
  - lib/square/api/payouts_api.rb
@@ -257,7 +259,7 @@ files:
257
259
  - test/api/test_refunds_api.rb
258
260
  - test/http_response_catcher.rb
259
261
  - test/test_helper.rb
260
- homepage: https://squareup.com/developers
262
+ homepage: ''
261
263
  licenses:
262
264
  - Apache-2.0
263
265
  metadata: {}