square.rb 4.0.0.20191217 → 4.1.0.20200122

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: 8b79344dfa1ffa7565b23b554bc663e4af18402c6c158d12ed9a5c79b7bf2ea7
4
- data.tar.gz: 1008fab3f5f0199e49158b99e364f7f3a30796596ba5a4e529b9166026cd69f3
3
+ metadata.gz: 4eff749072f266fc34fb9cacf003d8ea14f5f3c9b04b97be223590de76243e90
4
+ data.tar.gz: 747c6cb198b982369efc7f37ee540587c8d6415285a41cf4c6619d5843636409
5
5
  SHA512:
6
- metadata.gz: 2707c254aeacf861c339e949e5b921b26fd052a16382f1e5247a6fc3faa19962ecdbc15f3051385bb6dad64da61a4b869dfd9ab35bf198aef8ed285a0dc355b4
7
- data.tar.gz: 6d40706c4a8b70a1010883bf81ffbfb5ea1de04273f9ae11979dfc9da0f3527c38f778097eec7ca438d1ea9df090792820f4cfdad98cf07dbdb7cda4026fb4f1
6
+ metadata.gz: b4ca6b78862230fe3434b0c61b32b89e967e2d66e92cfffa3f9bed4bd6e63ad4841770b039c834758a78fa45ea592ae9db87bcb04ad120bf97708243c4704d21
7
+ data.tar.gz: 675ce08c8e5f6e98f8a5381f4f23944a23c18f838a8fcfd596d1a0f8f7539a2bd0e73bdbcf8315e5614e8659800df2068604d73f062c2d8e6b316a5e09a86acc
@@ -8,8 +8,8 @@ module Square
8
8
  @http_call_back = http_call_back
9
9
 
10
10
  @global_headers = {
11
- 'user-agent' => 'Square-Ruby-SDK/4.0.0.20191217',
12
- 'Square-Version' => '2019-12-17'
11
+ 'user-agent' => 'Square-Ruby-SDK/4.1.0.20200122',
12
+ 'Square-Version' => '2020-01-22'
13
13
  }
14
14
  end
15
15
 
@@ -449,9 +449,10 @@ module Square
449
449
  # *Note**: the ListSettlements endpoint does not provide entry
450
450
  # information.
451
451
  # @param [String] location_id Required parameter: The ID of the location to
452
- # list settlements for.
453
- # @param [SortOrder] order Optional parameter: TThe order in which payments
454
- # are listed in the response.
452
+ # list settlements for. If you specify me, this endpoint returns settlements
453
+ # aggregated from all of the business's locations.
454
+ # @param [SortOrder] order Optional parameter: The order in which
455
+ # settlements are listed in the response.
455
456
  # @param [String] begin_time Optional parameter: The beginning of the
456
457
  # requested reporting period, in ISO 8601 format. If this value is before
457
458
  # January 1, 2013 (2013-01-01T00:00:00Z), this endpoint returns an error.
@@ -460,8 +461,9 @@ module Square
460
461
  # reporting period, in ISO 8601 format. If this value is more than one year
461
462
  # greater than begin_time, this endpoint returns an error. Default value:
462
463
  # The current time.
463
- # @param [Integer] limit Optional parameter: The maximum number of payments
464
- # to return in a single response. This value cannot exceed 200.
464
+ # @param [Integer] limit Optional parameter: The maximum number of
465
+ # settlements to return in a single response. This value cannot exceed
466
+ # 200.
465
467
  # @param [V1ListSettlementsRequestStatus] status Optional parameter: Provide
466
468
  # this parameter to retrieve only settlements with a particular status (SENT
467
469
  # or FAILED).
data/lib/square/client.rb CHANGED
@@ -4,11 +4,11 @@ module Square
4
4
  attr_reader :config
5
5
 
6
6
  def sdk_version
7
- '4.0.0.20191217'
7
+ '4.1.0.20200122'
8
8
  end
9
9
 
10
10
  def square_version
11
- '2019-12-17'
11
+ '2020-01-22'
12
12
  end
13
13
 
14
14
  # Access to mobile_authorization controller.
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: 4.0.0.20191217
4
+ version: 4.1.0.20200122
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: 2019-12-17 00:00:00.000000000 Z
11
+ date: 2020-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging