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 +4 -4
- data/lib/square/api/base_api.rb +2 -2
- data/lib/square/api/v1_transactions_api.rb +7 -5
- data/lib/square/client.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4eff749072f266fc34fb9cacf003d8ea14f5f3c9b04b97be223590de76243e90
|
4
|
+
data.tar.gz: 747c6cb198b982369efc7f37ee540587c8d6415285a41cf4c6619d5843636409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4ca6b78862230fe3434b0c61b32b89e967e2d66e92cfffa3f9bed4bd6e63ad4841770b039c834758a78fa45ea592ae9db87bcb04ad120bf97708243c4704d21
|
7
|
+
data.tar.gz: 675ce08c8e5f6e98f8a5381f4f23944a23c18f838a8fcfd596d1a0f8f7539a2bd0e73bdbcf8315e5614e8659800df2068604d73f062c2d8e6b316a5e09a86acc
|
data/lib/square/api/base_api.rb
CHANGED
@@ -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.
|
12
|
-
'Square-Version' => '
|
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
|
-
#
|
454
|
-
#
|
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
|
464
|
-
# to return in a single response. This value cannot exceed
|
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
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.
|
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:
|
11
|
+
date: 2020-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|