square.rb 23.0.0.20220921 → 24.0.0.20221019

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: b74663d36bae14fe320c23d640aa2172cf62cf6c4826a626360917627cf5f7c1
4
- data.tar.gz: d85621b6ae408a39d492d5d7a5d28721af66eb881f6b7666e1e5a0fc73639b1d
3
+ metadata.gz: f44f7db801dca9eabe4e9ec3b3a9efebaf9d7e67573a3f15a19bd998a13f9cbf
4
+ data.tar.gz: f5c70958388a7a72f45bd286403db52c72c525beb52b3dd70fe076ee31eb2384
5
5
  SHA512:
6
- metadata.gz: a8486bc18c8303c18e64183a16136fb826ffca13451106cb06a43e8d8377b03e8e169a3f54e75f3f511c99268d6c40be24472512b35919df22c3138a937c4057
7
- data.tar.gz: cf3be15a882df1d1b323057ddb065aec10bd870da9e8ebd6ef9b625393b4af14379d6f61d1565f235647472d7a61a2e1c67e6a6a9220b4d273c3f24f05059c8b
6
+ metadata.gz: d512e32b13ae4d8d7d1ca7ef3e71576a6b8f79b52c990c9ae438dfcf612236d371cf62a5101643d9b2b6ab7f3e49f0ca66bebfb35adf73cf7fb20347dfc279e3
7
+ data.tar.gz: 5d4bfd92ee8d7fb2598b49861fb36b46250d0517a73235b9a3f28b43306d7db295ade4ddd22f96b317a201ae1b544a7c032674a6901cd2265a00e21cce25b24c
@@ -45,7 +45,7 @@ module Square
45
45
  end
46
46
 
47
47
  def get_user_agent
48
- user_agent = 'Square-Ruby-SDK/23.0.0.20220921 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}'
48
+ user_agent = 'Square-Ruby-SDK/24.0.0.20221019 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}'
49
49
  user_agent['{engine}'] = RUBY_ENGINE
50
50
  user_agent['{engine-version}'] = RUBY_ENGINE_VERSION
51
51
  user_agent['{os-info}'] = RUBY_PLATFORM
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
- '23.0.0.20220921'
7
+ '24.0.0.20221019'
8
8
  end
9
9
 
10
10
  def square_version
@@ -242,7 +242,7 @@ module Square
242
242
  retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
243
243
  retry_methods: %i[get put], environment: 'production',
244
244
  custom_url: 'https://connect.squareup.com',
245
- square_version: '2022-09-21', access_token: '',
245
+ square_version: '2022-10-19', access_token: '',
246
246
  user_agent_detail: '', additional_headers: {}, config: nil)
247
247
  @config = if config.nil?
248
248
  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-09-21', access_token: '',
23
+ square_version: '2022-10-19', 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
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: 23.0.0.20220921
4
+ version: 24.0.0.20221019
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-09-21 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging