square.rb 38.1.0.20240604 → 38.1.1.20240717
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/apple_pay_api.rb +14 -10
- data/lib/square/api/bank_accounts_api.rb +9 -9
- data/lib/square/api/base_api.rb +1 -1
- data/lib/square/api/booking_custom_attributes_api.rb +33 -33
- data/lib/square/api/bookings_api.rb +39 -39
- data/lib/square/api/cards_api.rb +12 -12
- data/lib/square/api/cash_drawers_api.rb +9 -9
- data/lib/square/api/catalog_api.rb +42 -42
- data/lib/square/api/checkout_api.rb +30 -30
- data/lib/square/api/customer_custom_attributes_api.rb +30 -30
- data/lib/square/api/customer_groups_api.rb +15 -15
- data/lib/square/api/customer_segments_api.rb +6 -6
- data/lib/square/api/customers_api.rb +42 -42
- data/lib/square/api/devices_api.rb +15 -15
- data/lib/square/api/disputes_api.rb +27 -27
- data/lib/square/api/employees_api.rb +6 -6
- data/lib/square/api/events_api.rb +12 -12
- data/lib/square/api/gift_card_activities_api.rb +6 -6
- data/lib/square/api/gift_cards_api.rb +21 -21
- data/lib/square/api/inventory_api.rb +39 -39
- data/lib/square/api/invoices_api.rb +37 -38
- data/lib/square/api/labor_api.rb +48 -48
- data/lib/square/api/location_custom_attributes_api.rb +33 -33
- data/lib/square/api/locations_api.rb +12 -12
- data/lib/square/api/loyalty_api.rb +54 -54
- data/lib/square/api/merchant_custom_attributes_api.rb +33 -33
- data/lib/square/api/merchants_api.rb +6 -6
- data/lib/square/api/mobile_authorization_api.rb +3 -3
- data/lib/square/api/o_auth_api.rb +9 -9
- data/lib/square/api/order_custom_attributes_api.rb +33 -33
- data/lib/square/api/orders_api.rb +24 -24
- data/lib/square/api/payments_api.rb +21 -21
- data/lib/square/api/payouts_api.rb +9 -9
- data/lib/square/api/refunds_api.rb +9 -9
- data/lib/square/api/sites_api.rb +3 -3
- data/lib/square/api/snippets_api.rb +9 -9
- data/lib/square/api/subscriptions_api.rb +36 -36
- data/lib/square/api/team_api.rb +24 -24
- data/lib/square/api/terminal_api.rb +45 -45
- data/lib/square/api/transactions_api.rb +12 -12
- data/lib/square/api/v1_transactions_api.rb +10 -10
- data/lib/square/api/vendors_api.rb +21 -21
- data/lib/square/api/webhook_subscriptions_api.rb +24 -24
- data/lib/square/client.rb +2 -2
- data/lib/square/configuration.rb +1 -1
- data/test/webhooks/test_webhooks_helper.rb +17 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cce93ff0125b15e7eade6f156a88af3df95fefe77472e14145003f647ac3290
|
4
|
+
data.tar.gz: 5fb22cfd130b0e709f84c17a1eee3f3796fb3cf24e69c32c92f11924bb2d8013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22248613a64e80016c2da4c143cd16833dfdf5d617baafd79cd73194cdeef521e56351a4f0f94c39d088fc77a90e09f1ee3e90b87397dc4525d906937c2936af
|
7
|
+
data.tar.gz: bc563352893ab4ebc268778f52181f755ea3f4bcc612ea1cd764e4aed18659335af2232133d953ae163fd0d4f454fba827f81b6d1e284fd454c88f2fab3ab7a6
|
@@ -9,13 +9,17 @@ module Square
|
|
9
9
|
# This endpoint provides an easy way for platform developers to bulk
|
10
10
|
# activate
|
11
11
|
# Apple Pay on the Web with Square for merchants using their platform.
|
12
|
-
# Note:
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
12
|
+
# Note: You will need to host a valid domain verification file on your
|
13
|
+
# domain to support Apple Pay. The
|
14
|
+
# current version of this file is always available at
|
15
|
+
# https://app.squareup.com/digital-wallets/apple-pay/apple-developer-merchan
|
16
|
+
# tid-domain-association,
|
17
|
+
# and should be hosted at
|
18
|
+
# `.well_known/apple-developer-merchantid-domain-association` on your
|
19
|
+
# domain. This file is subject to change; we strongly recommend checking
|
20
|
+
# for updates regularly and avoiding
|
21
|
+
# long-lived caches that might not keep in sync with the correct file
|
22
|
+
# version.
|
19
23
|
# To learn more about the Web Payments SDK and how to add Apple Pay, see
|
20
24
|
# [Take an Apple Pay
|
21
25
|
# Payment](https://developer.squareup.com/docs/web-payments/apple-pay).
|
@@ -34,9 +38,9 @@ module Square
|
|
34
38
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
35
39
|
.auth(Single.new('global')))
|
36
40
|
.response(new_response_handler
|
37
|
-
|
38
|
-
|
39
|
-
|
41
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
42
|
+
.is_api_response(true)
|
43
|
+
.convertor(ApiResponse.method(:create)))
|
40
44
|
.execute
|
41
45
|
end
|
42
46
|
end
|
@@ -29,9 +29,9 @@ module Square
|
|
29
29
|
.header_param(new_parameter('application/json', key: 'accept'))
|
30
30
|
.auth(Single.new('global')))
|
31
31
|
.response(new_response_handler
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
33
|
+
.is_api_response(true)
|
34
|
+
.convertor(ApiResponse.method(:create)))
|
35
35
|
.execute
|
36
36
|
end
|
37
37
|
|
@@ -53,9 +53,9 @@ module Square
|
|
53
53
|
.header_param(new_parameter('application/json', key: 'accept'))
|
54
54
|
.auth(Single.new('global')))
|
55
55
|
.response(new_response_handler
|
56
|
-
|
57
|
-
|
58
|
-
|
56
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
57
|
+
.is_api_response(true)
|
58
|
+
.convertor(ApiResponse.method(:create)))
|
59
59
|
.execute
|
60
60
|
end
|
61
61
|
|
@@ -74,9 +74,9 @@ module Square
|
|
74
74
|
.header_param(new_parameter('application/json', key: 'accept'))
|
75
75
|
.auth(Single.new('global')))
|
76
76
|
.response(new_response_handler
|
77
|
-
|
78
|
-
|
79
|
-
|
77
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
78
|
+
.is_api_response(true)
|
79
|
+
.convertor(ApiResponse.method(:create)))
|
80
80
|
.execute
|
81
81
|
end
|
82
82
|
end
|
data/lib/square/api/base_api.rb
CHANGED
@@ -5,7 +5,7 @@ module Square
|
|
5
5
|
attr_accessor :config, :http_call_back
|
6
6
|
|
7
7
|
def self.user_agent
|
8
|
-
'Square-Ruby-SDK/38.1.
|
8
|
+
'Square-Ruby-SDK/38.1.1.20240717 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}'
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.user_agent_parameters
|
@@ -30,9 +30,9 @@ module Square
|
|
30
30
|
.header_param(new_parameter('application/json', key: 'accept'))
|
31
31
|
.auth(Single.new('global')))
|
32
32
|
.response(new_response_handler
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
34
|
+
.is_api_response(true)
|
35
|
+
.convertor(ApiResponse.method(:create)))
|
36
36
|
.execute
|
37
37
|
end
|
38
38
|
|
@@ -59,9 +59,9 @@ module Square
|
|
59
59
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
60
60
|
.auth(Single.new('global')))
|
61
61
|
.response(new_response_handler
|
62
|
-
|
63
|
-
|
64
|
-
|
62
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
63
|
+
.is_api_response(true)
|
64
|
+
.convertor(ApiResponse.method(:create)))
|
65
65
|
.execute
|
66
66
|
end
|
67
67
|
|
@@ -86,9 +86,9 @@ module Square
|
|
86
86
|
.header_param(new_parameter('application/json', key: 'accept'))
|
87
87
|
.auth(Single.new('global')))
|
88
88
|
.response(new_response_handler
|
89
|
-
|
90
|
-
|
91
|
-
|
89
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
90
|
+
.is_api_response(true)
|
91
|
+
.convertor(ApiResponse.method(:create)))
|
92
92
|
.execute
|
93
93
|
end
|
94
94
|
|
@@ -119,9 +119,9 @@ module Square
|
|
119
119
|
.header_param(new_parameter('application/json', key: 'accept'))
|
120
120
|
.auth(Single.new('global')))
|
121
121
|
.response(new_response_handler
|
122
|
-
|
123
|
-
|
124
|
-
|
122
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
123
|
+
.is_api_response(true)
|
124
|
+
.convertor(ApiResponse.method(:create)))
|
125
125
|
.execute
|
126
126
|
end
|
127
127
|
|
@@ -153,9 +153,9 @@ module Square
|
|
153
153
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
154
154
|
.auth(Single.new('global')))
|
155
155
|
.response(new_response_handler
|
156
|
-
|
157
|
-
|
158
|
-
|
156
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
157
|
+
.is_api_response(true)
|
158
|
+
.convertor(ApiResponse.method(:create)))
|
159
159
|
.execute
|
160
160
|
end
|
161
161
|
|
@@ -182,9 +182,9 @@ module Square
|
|
182
182
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
183
183
|
.auth(Single.new('global')))
|
184
184
|
.response(new_response_handler
|
185
|
-
|
186
|
-
|
187
|
-
|
185
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
186
|
+
.is_api_response(true)
|
187
|
+
.convertor(ApiResponse.method(:create)))
|
188
188
|
.execute
|
189
189
|
end
|
190
190
|
|
@@ -211,9 +211,9 @@ module Square
|
|
211
211
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
212
212
|
.auth(Single.new('global')))
|
213
213
|
.response(new_response_handler
|
214
|
-
|
215
|
-
|
216
|
-
|
214
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
215
|
+
.is_api_response(true)
|
216
|
+
.convertor(ApiResponse.method(:create)))
|
217
217
|
.execute
|
218
218
|
end
|
219
219
|
|
@@ -259,9 +259,9 @@ module Square
|
|
259
259
|
.header_param(new_parameter('application/json', key: 'accept'))
|
260
260
|
.auth(Single.new('global')))
|
261
261
|
.response(new_response_handler
|
262
|
-
|
263
|
-
|
264
|
-
|
262
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
263
|
+
.is_api_response(true)
|
264
|
+
.convertor(ApiResponse.method(:create)))
|
265
265
|
.execute
|
266
266
|
end
|
267
267
|
|
@@ -293,9 +293,9 @@ module Square
|
|
293
293
|
.header_param(new_parameter('application/json', key: 'accept'))
|
294
294
|
.auth(Single.new('global')))
|
295
295
|
.response(new_response_handler
|
296
|
-
|
297
|
-
|
298
|
-
|
296
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
297
|
+
.is_api_response(true)
|
298
|
+
.convertor(ApiResponse.method(:create)))
|
299
299
|
.execute
|
300
300
|
end
|
301
301
|
|
@@ -340,9 +340,9 @@ module Square
|
|
340
340
|
.header_param(new_parameter('application/json', key: 'accept'))
|
341
341
|
.auth(Single.new('global')))
|
342
342
|
.response(new_response_handler
|
343
|
-
|
344
|
-
|
345
|
-
|
343
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
344
|
+
.is_api_response(true)
|
345
|
+
.convertor(ApiResponse.method(:create)))
|
346
346
|
.execute
|
347
347
|
end
|
348
348
|
|
@@ -381,9 +381,9 @@ module Square
|
|
381
381
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
382
382
|
.auth(Single.new('global')))
|
383
383
|
.response(new_response_handler
|
384
|
-
|
385
|
-
|
386
|
-
|
384
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
385
|
+
.is_api_response(true)
|
386
|
+
.convertor(ApiResponse.method(:create)))
|
387
387
|
.execute
|
388
388
|
end
|
389
389
|
end
|
@@ -48,9 +48,9 @@ module Square
|
|
48
48
|
.header_param(new_parameter('application/json', key: 'accept'))
|
49
49
|
.auth(Single.new('global')))
|
50
50
|
.response(new_response_handler
|
51
|
-
|
52
|
-
|
53
|
-
|
51
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
52
|
+
.is_api_response(true)
|
53
|
+
.convertor(ApiResponse.method(:create)))
|
54
54
|
.execute
|
55
55
|
end
|
56
56
|
|
@@ -83,9 +83,9 @@ module Square
|
|
83
83
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
84
84
|
.auth(Single.new('global')))
|
85
85
|
.response(new_response_handler
|
86
|
-
|
87
|
-
|
88
|
-
|
86
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
87
|
+
.is_api_response(true)
|
88
|
+
.convertor(ApiResponse.method(:create)))
|
89
89
|
.execute
|
90
90
|
end
|
91
91
|
|
@@ -109,9 +109,9 @@ module Square
|
|
109
109
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
110
110
|
.auth(Single.new('global')))
|
111
111
|
.response(new_response_handler
|
112
|
-
|
113
|
-
|
114
|
-
|
112
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
113
|
+
.is_api_response(true)
|
114
|
+
.convertor(ApiResponse.method(:create)))
|
115
115
|
.execute
|
116
116
|
end
|
117
117
|
|
@@ -135,9 +135,9 @@ module Square
|
|
135
135
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
136
136
|
.auth(Single.new('global')))
|
137
137
|
.response(new_response_handler
|
138
|
-
|
139
|
-
|
140
|
-
|
138
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
139
|
+
.is_api_response(true)
|
140
|
+
.convertor(ApiResponse.method(:create)))
|
141
141
|
.execute
|
142
142
|
end
|
143
143
|
|
@@ -151,9 +151,9 @@ module Square
|
|
151
151
|
.header_param(new_parameter('application/json', key: 'accept'))
|
152
152
|
.auth(Single.new('global')))
|
153
153
|
.response(new_response_handler
|
154
|
-
|
155
|
-
|
156
|
-
|
154
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
155
|
+
.is_api_response(true)
|
156
|
+
.convertor(ApiResponse.method(:create)))
|
157
157
|
.execute
|
158
158
|
end
|
159
159
|
|
@@ -175,9 +175,9 @@ module Square
|
|
175
175
|
.header_param(new_parameter('application/json', key: 'accept'))
|
176
176
|
.auth(Single.new('global')))
|
177
177
|
.response(new_response_handler
|
178
|
-
|
179
|
-
|
180
|
-
|
178
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
179
|
+
.is_api_response(true)
|
180
|
+
.convertor(ApiResponse.method(:create)))
|
181
181
|
.execute
|
182
182
|
end
|
183
183
|
|
@@ -195,9 +195,9 @@ module Square
|
|
195
195
|
.header_param(new_parameter('application/json', key: 'accept'))
|
196
196
|
.auth(Single.new('global')))
|
197
197
|
.response(new_response_handler
|
198
|
-
|
199
|
-
|
200
|
-
|
198
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
199
|
+
.is_api_response(true)
|
200
|
+
.convertor(ApiResponse.method(:create)))
|
201
201
|
.execute
|
202
202
|
end
|
203
203
|
|
@@ -229,9 +229,9 @@ module Square
|
|
229
229
|
.header_param(new_parameter('application/json', key: 'accept'))
|
230
230
|
.auth(Single.new('global')))
|
231
231
|
.response(new_response_handler
|
232
|
-
|
233
|
-
|
234
|
-
|
232
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
233
|
+
.is_api_response(true)
|
234
|
+
.convertor(ApiResponse.method(:create)))
|
235
235
|
.execute
|
236
236
|
end
|
237
237
|
|
@@ -251,9 +251,9 @@ module Square
|
|
251
251
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
252
252
|
.auth(Single.new('global')))
|
253
253
|
.response(new_response_handler
|
254
|
-
|
255
|
-
|
256
|
-
|
254
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
255
|
+
.is_api_response(true)
|
256
|
+
.convertor(ApiResponse.method(:create)))
|
257
257
|
.execute
|
258
258
|
end
|
259
259
|
|
@@ -271,9 +271,9 @@ module Square
|
|
271
271
|
.header_param(new_parameter('application/json', key: 'accept'))
|
272
272
|
.auth(Single.new('global')))
|
273
273
|
.response(new_response_handler
|
274
|
-
|
275
|
-
|
276
|
-
|
274
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
275
|
+
.is_api_response(true)
|
276
|
+
.convertor(ApiResponse.method(:create)))
|
277
277
|
.execute
|
278
278
|
end
|
279
279
|
|
@@ -296,9 +296,9 @@ module Square
|
|
296
296
|
.header_param(new_parameter('application/json', key: 'accept'))
|
297
297
|
.auth(Single.new('global')))
|
298
298
|
.response(new_response_handler
|
299
|
-
|
300
|
-
|
301
|
-
|
299
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
300
|
+
.is_api_response(true)
|
301
|
+
.convertor(ApiResponse.method(:create)))
|
302
302
|
.execute
|
303
303
|
end
|
304
304
|
|
@@ -330,9 +330,9 @@ module Square
|
|
330
330
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
331
331
|
.auth(Single.new('global')))
|
332
332
|
.response(new_response_handler
|
333
|
-
|
334
|
-
|
335
|
-
|
333
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
334
|
+
.is_api_response(true)
|
335
|
+
.convertor(ApiResponse.method(:create)))
|
336
336
|
.execute
|
337
337
|
end
|
338
338
|
|
@@ -365,9 +365,9 @@ module Square
|
|
365
365
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
366
366
|
.auth(Single.new('global')))
|
367
367
|
.response(new_response_handler
|
368
|
-
|
369
|
-
|
370
|
-
|
368
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
369
|
+
.is_api_response(true)
|
370
|
+
.convertor(ApiResponse.method(:create)))
|
371
371
|
.execute
|
372
372
|
end
|
373
373
|
end
|
data/lib/square/api/cards_api.rb
CHANGED
@@ -37,9 +37,9 @@ module Square
|
|
37
37
|
.header_param(new_parameter('application/json', key: 'accept'))
|
38
38
|
.auth(Single.new('global')))
|
39
39
|
.response(new_response_handler
|
40
|
-
|
41
|
-
|
42
|
-
|
40
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
41
|
+
.is_api_response(true)
|
42
|
+
.convertor(ApiResponse.method(:create)))
|
43
43
|
.execute
|
44
44
|
end
|
45
45
|
|
@@ -59,9 +59,9 @@ module Square
|
|
59
59
|
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
60
60
|
.auth(Single.new('global')))
|
61
61
|
.response(new_response_handler
|
62
|
-
|
63
|
-
|
64
|
-
|
62
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
63
|
+
.is_api_response(true)
|
64
|
+
.convertor(ApiResponse.method(:create)))
|
65
65
|
.execute
|
66
66
|
end
|
67
67
|
|
@@ -79,9 +79,9 @@ module Square
|
|
79
79
|
.header_param(new_parameter('application/json', key: 'accept'))
|
80
80
|
.auth(Single.new('global')))
|
81
81
|
.response(new_response_handler
|
82
|
-
|
83
|
-
|
84
|
-
|
82
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
83
|
+
.is_api_response(true)
|
84
|
+
.convertor(ApiResponse.method(:create)))
|
85
85
|
.execute
|
86
86
|
end
|
87
87
|
|
@@ -100,9 +100,9 @@ module Square
|
|
100
100
|
.header_param(new_parameter('application/json', key: 'accept'))
|
101
101
|
.auth(Single.new('global')))
|
102
102
|
.response(new_response_handler
|
103
|
-
|
104
|
-
|
105
|
-
|
103
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
104
|
+
.is_api_response(true)
|
105
|
+
.convertor(ApiResponse.method(:create)))
|
106
106
|
.execute
|
107
107
|
end
|
108
108
|
end
|
@@ -36,9 +36,9 @@ module Square
|
|
36
36
|
.header_param(new_parameter('application/json', key: 'accept'))
|
37
37
|
.auth(Single.new('global')))
|
38
38
|
.response(new_response_handler
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
40
|
+
.is_api_response(true)
|
41
|
+
.convertor(ApiResponse.method(:create)))
|
42
42
|
.execute
|
43
43
|
end
|
44
44
|
|
@@ -61,9 +61,9 @@ module Square
|
|
61
61
|
.header_param(new_parameter('application/json', key: 'accept'))
|
62
62
|
.auth(Single.new('global')))
|
63
63
|
.response(new_response_handler
|
64
|
-
|
65
|
-
|
66
|
-
|
64
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
65
|
+
.is_api_response(true)
|
66
|
+
.convertor(ApiResponse.method(:create)))
|
67
67
|
.execute
|
68
68
|
end
|
69
69
|
|
@@ -92,9 +92,9 @@ module Square
|
|
92
92
|
.header_param(new_parameter('application/json', key: 'accept'))
|
93
93
|
.auth(Single.new('global')))
|
94
94
|
.response(new_response_handler
|
95
|
-
|
96
|
-
|
97
|
-
|
95
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
96
|
+
.is_api_response(true)
|
97
|
+
.convertor(ApiResponse.method(:create)))
|
98
98
|
.execute
|
99
99
|
end
|
100
100
|
end
|