ultracart_api 3.4.1 → 3.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/ConfigurationApi.md +14 -14
- data/docs/OrderChannelPartner.md +1 -0
- data/docs/OrderTrackingNumberDetail.md +2 -0
- data/docs/RotatingTransactionGatewayResponse.md +12 -0
- data/docs/{RtgSummary.md → RtgSummaryResponse.md} +1 -1
- data/lib/ultracart_api.rb +2 -1
- data/lib/ultracart_api/api/configuration_api.rb +21 -21
- data/lib/ultracart_api/models/order_channel_partner.rb +11 -1
- data/lib/ultracart_api/models/order_tracking_number_detail.rb +21 -1
- data/lib/ultracart_api/models/rotating_transaction_gateway_response.rb +221 -0
- data/lib/ultracart_api/models/{rtg_summary.rb → rtg_summary_response.rb} +1 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df5dca8eabc621812f5c227f3f9db88c062331ba8bf0e75100dbda0b88dfe7b6
|
4
|
+
data.tar.gz: 527ec15414ff54e105a043b9bb2ac0f8098dc2f15f31df193e7ff701f8227384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1053b0c2532a66131de73a5a16a11331503765e446cfb14b22aa0472816bd9a725809ce728ed21ef2838ab00f47951c12a4f5fe1417bd79dd9036d08a3aeaa90
|
7
|
+
data.tar.gz: c180a7ff27ad2ea0159839d0d8caa306530368a52e13653b7c6764c2040a5b7e36e22f34ac7a92e48dca99fe8ad6ce9d870b8fe04523c5e0962dfb8c8f22f6a6
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 3.4.
|
10
|
+
- Package version: 3.4.5
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-3.4.
|
27
|
+
gem install ./ultracart_api-3.4.5.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.4.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.4.5.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'ultracart_api', '~> 3.4.
|
35
|
+
gem 'ultracart_api', '~> 3.4.5'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -913,12 +913,13 @@ Class | Method | HTTP request | Description
|
|
913
913
|
- [UltracartClient::ResponseMetadata](docs/ResponseMetadata.md)
|
914
914
|
- [UltracartClient::ResultSet](docs/ResultSet.md)
|
915
915
|
- [UltracartClient::RotatingTransactionGateway](docs/RotatingTransactionGateway.md)
|
916
|
+
- [UltracartClient::RotatingTransactionGatewayResponse](docs/RotatingTransactionGatewayResponse.md)
|
916
917
|
- [UltracartClient::RotatingTransactionGatewaysResponse](docs/RotatingTransactionGatewaysResponse.md)
|
917
918
|
- [UltracartClient::RtgCurrency](docs/RtgCurrency.md)
|
918
919
|
- [UltracartClient::RtgDayOfMonthRestriction](docs/RtgDayOfMonthRestriction.md)
|
919
920
|
- [UltracartClient::RtgDayOfWeekRestriction](docs/RtgDayOfWeekRestriction.md)
|
920
|
-
- [UltracartClient::RtgSummary](docs/RtgSummary.md)
|
921
921
|
- [UltracartClient::RtgSummaryGateway](docs/RtgSummaryGateway.md)
|
922
|
+
- [UltracartClient::RtgSummaryResponse](docs/RtgSummaryResponse.md)
|
922
923
|
- [UltracartClient::RtgThemeRestriction](docs/RtgThemeRestriction.md)
|
923
924
|
- [UltracartClient::ScreenRecording](docs/ScreenRecording.md)
|
924
925
|
- [UltracartClient::ScreenRecordingAdPlatform](docs/ScreenRecordingAdPlatform.md)
|
@@ -1098,6 +1099,9 @@ Not every change is committed to every SDK.
|
|
1098
1099
|
|
1099
1100
|
| Version | Date | Comments |
|
1100
1101
|
| --: | :-: | --- |
|
1102
|
+
| 3.4.5 | 08/03/2021 | configuration api bug fix for a bad response object on updateRotatingTransactionGateway |
|
1103
|
+
| 3.4.3 | 08/03/2021 | package tracking - add event_iso_date and event_timezone_id |
|
1104
|
+
| 3.4.2 | 07/29/2021 | bug fixes for new configuration api |
|
1101
1105
|
| 3.4.1 | 07/29/2021 | bug fixes for new configuration api |
|
1102
1106
|
| 3.4.0 | 07/29/2021 | added new configuration api (not live yet. sdk only works against development presently) |
|
1103
1107
|
| 3.3.2 | 07/16/2021 | sso bug fixes |
|
data/docs/ConfigurationApi.md
CHANGED
@@ -122,7 +122,7 @@ Name | Type | Description | Notes
|
|
122
122
|
|
123
123
|
|
124
124
|
# **get_payments_configuration**
|
125
|
-
>
|
125
|
+
> PaymentsConfigurationResponse get_payments_configuration
|
126
126
|
|
127
127
|
Retrieve payments configuration
|
128
128
|
|
@@ -153,7 +153,7 @@ This endpoint does not need any parameter.
|
|
153
153
|
|
154
154
|
### Return type
|
155
155
|
|
156
|
-
[**
|
156
|
+
[**PaymentsConfigurationResponse**](PaymentsConfigurationResponse.md)
|
157
157
|
|
158
158
|
### Authorization
|
159
159
|
|
@@ -167,7 +167,7 @@ This endpoint does not need any parameter.
|
|
167
167
|
|
168
168
|
|
169
169
|
# **get_payments_rotating_gateway**
|
170
|
-
>
|
170
|
+
> RotatingTransactionGatewayResponse get_payments_rotating_gateway(rtg_oid)
|
171
171
|
|
172
172
|
Retrieve a rotating transaction gateway
|
173
173
|
|
@@ -203,7 +203,7 @@ Name | Type | Description | Notes
|
|
203
203
|
|
204
204
|
### Return type
|
205
205
|
|
206
|
-
[**
|
206
|
+
[**RotatingTransactionGatewayResponse**](RotatingTransactionGatewayResponse.md)
|
207
207
|
|
208
208
|
### Authorization
|
209
209
|
|
@@ -217,7 +217,7 @@ Name | Type | Description | Notes
|
|
217
217
|
|
218
218
|
|
219
219
|
# **get_payments_rotating_gateway_by_code**
|
220
|
-
>
|
220
|
+
> RotatingTransactionGatewayResponse get_payments_rotating_gateway_by_code(code)
|
221
221
|
|
222
222
|
Retrieve a rotating transaction gateway by code
|
223
223
|
|
@@ -253,7 +253,7 @@ Name | Type | Description | Notes
|
|
253
253
|
|
254
254
|
### Return type
|
255
255
|
|
256
|
-
[**
|
256
|
+
[**RotatingTransactionGatewayResponse**](RotatingTransactionGatewayResponse.md)
|
257
257
|
|
258
258
|
### Authorization
|
259
259
|
|
@@ -312,7 +312,7 @@ This endpoint does not need any parameter.
|
|
312
312
|
|
313
313
|
|
314
314
|
# **get_payments_rtg_summaries**
|
315
|
-
>
|
315
|
+
> RtgSummaryResponse get_payments_rtg_summaries
|
316
316
|
|
317
317
|
Retrieve a summary of rotating transaction gateways
|
318
318
|
|
@@ -343,7 +343,7 @@ This endpoint does not need any parameter.
|
|
343
343
|
|
344
344
|
### Return type
|
345
345
|
|
346
|
-
[**
|
346
|
+
[**RtgSummaryResponse**](RtgSummaryResponse.md)
|
347
347
|
|
348
348
|
### Authorization
|
349
349
|
|
@@ -402,7 +402,7 @@ This endpoint does not need any parameter.
|
|
402
402
|
|
403
403
|
|
404
404
|
# **insert_rotating_transaction_gateway**
|
405
|
-
>
|
405
|
+
> RotatingTransactionGatewayResponse insert_rotating_transaction_gateway(rotating_transaction_gateway)
|
406
406
|
|
407
407
|
Insert a rotating transaction gateway
|
408
408
|
|
@@ -438,7 +438,7 @@ Name | Type | Description | Notes
|
|
438
438
|
|
439
439
|
### Return type
|
440
440
|
|
441
|
-
[**
|
441
|
+
[**RotatingTransactionGatewayResponse**](RotatingTransactionGatewayResponse.md)
|
442
442
|
|
443
443
|
### Authorization
|
444
444
|
|
@@ -452,7 +452,7 @@ Name | Type | Description | Notes
|
|
452
452
|
|
453
453
|
|
454
454
|
# **migrate_to_rotating_transaction_gateway**
|
455
|
-
>
|
455
|
+
> RotatingTransactionGatewayResponse migrate_to_rotating_transaction_gateway(code)
|
456
456
|
|
457
457
|
Migrate a normal transaction gateway to a rotating transaction gateway
|
458
458
|
|
@@ -488,7 +488,7 @@ Name | Type | Description | Notes
|
|
488
488
|
|
489
489
|
### Return type
|
490
490
|
|
491
|
-
[**
|
491
|
+
[**RotatingTransactionGatewayResponse**](RotatingTransactionGatewayResponse.md)
|
492
492
|
|
493
493
|
### Authorization
|
494
494
|
|
@@ -652,7 +652,7 @@ Name | Type | Description | Notes
|
|
652
652
|
|
653
653
|
|
654
654
|
# **update_rotating_transaction_gateway**
|
655
|
-
>
|
655
|
+
> RotatingTransactionGatewayResponse update_rotating_transaction_gateway(rtg_oid, rotating_transaction_gateway)
|
656
656
|
|
657
657
|
Update a rotating transaction gateway
|
658
658
|
|
@@ -691,7 +691,7 @@ Name | Type | Description | Notes
|
|
691
691
|
|
692
692
|
### Return type
|
693
693
|
|
694
|
-
[**
|
694
|
+
[**RotatingTransactionGatewayResponse**](RotatingTransactionGatewayResponse.md)
|
695
695
|
|
696
696
|
### Authorization
|
697
697
|
|
data/docs/OrderChannelPartner.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**channel_partner_data** | **String** | Additional data provided by the channel partner, read-only | [optional]
|
9
9
|
**channel_partner_oid** | **Integer** | Channel partner object identifier, read-only and available on existing channel orders only. | [optional]
|
10
10
|
**channel_partner_order_id** | **String** | The order ID assigned by the channel partner for this order | [optional]
|
11
|
+
**ignore_invalid_shipping_method** | **BOOLEAN** | Set to true to ignore invalid shipping method being specified. Only applicable on inserting orders. | [optional]
|
11
12
|
**no_realtime_payment_processing** | **BOOLEAN** | Indicates this order should be placed in Account Receivable for later payment processing | [optional]
|
12
13
|
**skip_payment_processing** | **BOOLEAN** | Indicates this order was already paid for via a channel purchase and no payment collection should be attempted | [optional]
|
13
14
|
**store_completed** | **BOOLEAN** | Instructs UltraCart to skip shipping department and mark this order as fully complete. Set this flag if you have already shipped product for this order. | [optional]
|
@@ -4,8 +4,10 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**city** | **String** | | [optional]
|
7
|
+
**event_dts** | **String** | ISO 8601 timestamp that the event occurred | [optional]
|
7
8
|
**event_local_date** | **String** | | [optional]
|
8
9
|
**event_local_time** | **String** | | [optional]
|
10
|
+
**event_timezone_id** | **String** | Timezone the event occurred in. Use this in conjunction with event_dts to format a local date/time. | [optional]
|
9
11
|
**state** | **String** | | [optional]
|
10
12
|
**subtag** | **String** | | [optional]
|
11
13
|
**subtag_message** | **String** | | [optional]
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# UltracartClient::RotatingTransactionGatewayResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**error** | [**Error**](Error.md) | | [optional]
|
7
|
+
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
8
|
+
**rotating_gateway** | [**RotatingTransactionGateway**](RotatingTransactionGateway.md) | | [optional]
|
9
|
+
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
10
|
+
**warning** | [**Warning**](Warning.md) | | [optional]
|
11
|
+
|
12
|
+
|
data/lib/ultracart_api.rb
CHANGED
@@ -517,12 +517,13 @@ require 'ultracart_api/models/register_affiliate_click_response'
|
|
517
517
|
require 'ultracart_api/models/response_metadata'
|
518
518
|
require 'ultracart_api/models/result_set'
|
519
519
|
require 'ultracart_api/models/rotating_transaction_gateway'
|
520
|
+
require 'ultracart_api/models/rotating_transaction_gateway_response'
|
520
521
|
require 'ultracart_api/models/rotating_transaction_gateways_response'
|
521
522
|
require 'ultracart_api/models/rtg_currency'
|
522
523
|
require 'ultracart_api/models/rtg_day_of_month_restriction'
|
523
524
|
require 'ultracart_api/models/rtg_day_of_week_restriction'
|
524
|
-
require 'ultracart_api/models/rtg_summary'
|
525
525
|
require 'ultracart_api/models/rtg_summary_gateway'
|
526
|
+
require 'ultracart_api/models/rtg_summary_response'
|
526
527
|
require 'ultracart_api/models/rtg_theme_restriction'
|
527
528
|
require 'ultracart_api/models/screen_recording'
|
528
529
|
require 'ultracart_api/models/screen_recording_ad_platform'
|
@@ -145,7 +145,7 @@ module UltracartClient
|
|
145
145
|
# Retrieve payments configuration
|
146
146
|
# Retrieves payments configuration for this account.
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
|
-
# @return [
|
148
|
+
# @return [PaymentsConfigurationResponse]
|
149
149
|
def get_payments_configuration(opts = {})
|
150
150
|
data, _status_code, _headers = get_payments_configuration_with_http_info(opts)
|
151
151
|
data
|
@@ -154,7 +154,7 @@ module UltracartClient
|
|
154
154
|
# Retrieve payments configuration
|
155
155
|
# Retrieves payments configuration for this account.
|
156
156
|
# @param [Hash] opts the optional parameters
|
157
|
-
# @return [Array<(
|
157
|
+
# @return [Array<(PaymentsConfigurationResponse, Fixnum, Hash)>] PaymentsConfigurationResponse data, response status code and response headers
|
158
158
|
def get_payments_configuration_with_http_info(opts = {})
|
159
159
|
if @api_client.config.debugging
|
160
160
|
@api_client.config.logger.debug 'Calling API: ConfigurationApi.get_payments_configuration ...'
|
@@ -185,7 +185,7 @@ module UltracartClient
|
|
185
185
|
:form_params => form_params,
|
186
186
|
:body => post_body,
|
187
187
|
:auth_names => auth_names,
|
188
|
-
:return_type => '
|
188
|
+
:return_type => 'PaymentsConfigurationResponse')
|
189
189
|
if @api_client.config.debugging
|
190
190
|
@api_client.config.logger.debug "API called: ConfigurationApi#get_payments_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
191
191
|
end
|
@@ -195,7 +195,7 @@ module UltracartClient
|
|
195
195
|
# Retrieve a rotating transaction gateway
|
196
196
|
# @param rtg_oid The rtg_oid for the desired record.
|
197
197
|
# @param [Hash] opts the optional parameters
|
198
|
-
# @return [
|
198
|
+
# @return [RotatingTransactionGatewayResponse]
|
199
199
|
def get_payments_rotating_gateway(rtg_oid, opts = {})
|
200
200
|
data, _status_code, _headers = get_payments_rotating_gateway_with_http_info(rtg_oid, opts)
|
201
201
|
data
|
@@ -205,7 +205,7 @@ module UltracartClient
|
|
205
205
|
# Retrieve a rotating transaction gateway
|
206
206
|
# @param rtg_oid The rtg_oid for the desired record.
|
207
207
|
# @param [Hash] opts the optional parameters
|
208
|
-
# @return [Array<(
|
208
|
+
# @return [Array<(RotatingTransactionGatewayResponse, Fixnum, Hash)>] RotatingTransactionGatewayResponse data, response status code and response headers
|
209
209
|
def get_payments_rotating_gateway_with_http_info(rtg_oid, opts = {})
|
210
210
|
if @api_client.config.debugging
|
211
211
|
@api_client.config.logger.debug 'Calling API: ConfigurationApi.get_payments_rotating_gateway ...'
|
@@ -240,7 +240,7 @@ module UltracartClient
|
|
240
240
|
:form_params => form_params,
|
241
241
|
:body => post_body,
|
242
242
|
:auth_names => auth_names,
|
243
|
-
:return_type => '
|
243
|
+
:return_type => 'RotatingTransactionGatewayResponse')
|
244
244
|
if @api_client.config.debugging
|
245
245
|
@api_client.config.logger.debug "API called: ConfigurationApi#get_payments_rotating_gateway\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
246
246
|
end
|
@@ -250,7 +250,7 @@ module UltracartClient
|
|
250
250
|
# Retrieve a rotating transaction gateway by code
|
251
251
|
# @param code The code for the desired rotating transaction gateway.
|
252
252
|
# @param [Hash] opts the optional parameters
|
253
|
-
# @return [
|
253
|
+
# @return [RotatingTransactionGatewayResponse]
|
254
254
|
def get_payments_rotating_gateway_by_code(code, opts = {})
|
255
255
|
data, _status_code, _headers = get_payments_rotating_gateway_by_code_with_http_info(code, opts)
|
256
256
|
data
|
@@ -260,7 +260,7 @@ module UltracartClient
|
|
260
260
|
# Retrieve a rotating transaction gateway by code
|
261
261
|
# @param code The code for the desired rotating transaction gateway.
|
262
262
|
# @param [Hash] opts the optional parameters
|
263
|
-
# @return [Array<(
|
263
|
+
# @return [Array<(RotatingTransactionGatewayResponse, Fixnum, Hash)>] RotatingTransactionGatewayResponse data, response status code and response headers
|
264
264
|
def get_payments_rotating_gateway_by_code_with_http_info(code, opts = {})
|
265
265
|
if @api_client.config.debugging
|
266
266
|
@api_client.config.logger.debug 'Calling API: ConfigurationApi.get_payments_rotating_gateway_by_code ...'
|
@@ -295,7 +295,7 @@ module UltracartClient
|
|
295
295
|
:form_params => form_params,
|
296
296
|
:body => post_body,
|
297
297
|
:auth_names => auth_names,
|
298
|
-
:return_type => '
|
298
|
+
:return_type => 'RotatingTransactionGatewayResponse')
|
299
299
|
if @api_client.config.debugging
|
300
300
|
@api_client.config.logger.debug "API called: ConfigurationApi#get_payments_rotating_gateway_by_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
301
301
|
end
|
@@ -353,7 +353,7 @@ module UltracartClient
|
|
353
353
|
# Retrieve a summary of rotating transaction gateways
|
354
354
|
# Retrieve a summary of rotating transaction gateways
|
355
355
|
# @param [Hash] opts the optional parameters
|
356
|
-
# @return [
|
356
|
+
# @return [RtgSummaryResponse]
|
357
357
|
def get_payments_rtg_summaries(opts = {})
|
358
358
|
data, _status_code, _headers = get_payments_rtg_summaries_with_http_info(opts)
|
359
359
|
data
|
@@ -362,7 +362,7 @@ module UltracartClient
|
|
362
362
|
# Retrieve a summary of rotating transaction gateways
|
363
363
|
# Retrieve a summary of rotating transaction gateways
|
364
364
|
# @param [Hash] opts the optional parameters
|
365
|
-
# @return [Array<(
|
365
|
+
# @return [Array<(RtgSummaryResponse, Fixnum, Hash)>] RtgSummaryResponse data, response status code and response headers
|
366
366
|
def get_payments_rtg_summaries_with_http_info(opts = {})
|
367
367
|
if @api_client.config.debugging
|
368
368
|
@api_client.config.logger.debug 'Calling API: ConfigurationApi.get_payments_rtg_summaries ...'
|
@@ -393,7 +393,7 @@ module UltracartClient
|
|
393
393
|
:form_params => form_params,
|
394
394
|
:body => post_body,
|
395
395
|
:auth_names => auth_names,
|
396
|
-
:return_type => '
|
396
|
+
:return_type => 'RtgSummaryResponse')
|
397
397
|
if @api_client.config.debugging
|
398
398
|
@api_client.config.logger.debug "API called: ConfigurationApi#get_payments_rtg_summaries\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
399
399
|
end
|
@@ -452,7 +452,7 @@ module UltracartClient
|
|
452
452
|
# Insert a rotating transaction gateway
|
453
453
|
# @param rotating_transaction_gateway Rotating transaction gateway
|
454
454
|
# @param [Hash] opts the optional parameters
|
455
|
-
# @return [
|
455
|
+
# @return [RotatingTransactionGatewayResponse]
|
456
456
|
def insert_rotating_transaction_gateway(rotating_transaction_gateway, opts = {})
|
457
457
|
data, _status_code, _headers = insert_rotating_transaction_gateway_with_http_info(rotating_transaction_gateway, opts)
|
458
458
|
data
|
@@ -462,7 +462,7 @@ module UltracartClient
|
|
462
462
|
# Insert a rotating transaction gateway
|
463
463
|
# @param rotating_transaction_gateway Rotating transaction gateway
|
464
464
|
# @param [Hash] opts the optional parameters
|
465
|
-
# @return [Array<(
|
465
|
+
# @return [Array<(RotatingTransactionGatewayResponse, Fixnum, Hash)>] RotatingTransactionGatewayResponse data, response status code and response headers
|
466
466
|
def insert_rotating_transaction_gateway_with_http_info(rotating_transaction_gateway, opts = {})
|
467
467
|
if @api_client.config.debugging
|
468
468
|
@api_client.config.logger.debug 'Calling API: ConfigurationApi.insert_rotating_transaction_gateway ...'
|
@@ -497,7 +497,7 @@ module UltracartClient
|
|
497
497
|
:form_params => form_params,
|
498
498
|
:body => post_body,
|
499
499
|
:auth_names => auth_names,
|
500
|
-
:return_type => '
|
500
|
+
:return_type => 'RotatingTransactionGatewayResponse')
|
501
501
|
if @api_client.config.debugging
|
502
502
|
@api_client.config.logger.debug "API called: ConfigurationApi#insert_rotating_transaction_gateway\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
503
503
|
end
|
@@ -507,7 +507,7 @@ module UltracartClient
|
|
507
507
|
# Migrate a normal transaction gateway to a rotating transaction gateway
|
508
508
|
# @param code The short code for the new rotating transaction gateway
|
509
509
|
# @param [Hash] opts the optional parameters
|
510
|
-
# @return [
|
510
|
+
# @return [RotatingTransactionGatewayResponse]
|
511
511
|
def migrate_to_rotating_transaction_gateway(code, opts = {})
|
512
512
|
data, _status_code, _headers = migrate_to_rotating_transaction_gateway_with_http_info(code, opts)
|
513
513
|
data
|
@@ -517,7 +517,7 @@ module UltracartClient
|
|
517
517
|
# Migrate a normal transaction gateway to a rotating transaction gateway
|
518
518
|
# @param code The short code for the new rotating transaction gateway
|
519
519
|
# @param [Hash] opts the optional parameters
|
520
|
-
# @return [Array<(
|
520
|
+
# @return [Array<(RotatingTransactionGatewayResponse, Fixnum, Hash)>] RotatingTransactionGatewayResponse data, response status code and response headers
|
521
521
|
def migrate_to_rotating_transaction_gateway_with_http_info(code, opts = {})
|
522
522
|
if @api_client.config.debugging
|
523
523
|
@api_client.config.logger.debug 'Calling API: ConfigurationApi.migrate_to_rotating_transaction_gateway ...'
|
@@ -552,7 +552,7 @@ module UltracartClient
|
|
552
552
|
:form_params => form_params,
|
553
553
|
:body => post_body,
|
554
554
|
:auth_names => auth_names,
|
555
|
-
:return_type => '
|
555
|
+
:return_type => 'RotatingTransactionGatewayResponse')
|
556
556
|
if @api_client.config.debugging
|
557
557
|
@api_client.config.logger.debug "API called: ConfigurationApi#migrate_to_rotating_transaction_gateway\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
558
558
|
end
|
@@ -728,7 +728,7 @@ module UltracartClient
|
|
728
728
|
# @param rtg_oid The rtg_oid to update.
|
729
729
|
# @param rotating_transaction_gateway Rotating transaction gateway
|
730
730
|
# @param [Hash] opts the optional parameters
|
731
|
-
# @return [
|
731
|
+
# @return [RotatingTransactionGatewayResponse]
|
732
732
|
def update_rotating_transaction_gateway(rtg_oid, rotating_transaction_gateway, opts = {})
|
733
733
|
data, _status_code, _headers = update_rotating_transaction_gateway_with_http_info(rtg_oid, rotating_transaction_gateway, opts)
|
734
734
|
data
|
@@ -739,7 +739,7 @@ module UltracartClient
|
|
739
739
|
# @param rtg_oid The rtg_oid to update.
|
740
740
|
# @param rotating_transaction_gateway Rotating transaction gateway
|
741
741
|
# @param [Hash] opts the optional parameters
|
742
|
-
# @return [Array<(
|
742
|
+
# @return [Array<(RotatingTransactionGatewayResponse, Fixnum, Hash)>] RotatingTransactionGatewayResponse data, response status code and response headers
|
743
743
|
def update_rotating_transaction_gateway_with_http_info(rtg_oid, rotating_transaction_gateway, opts = {})
|
744
744
|
if @api_client.config.debugging
|
745
745
|
@api_client.config.logger.debug 'Calling API: ConfigurationApi.update_rotating_transaction_gateway ...'
|
@@ -778,7 +778,7 @@ module UltracartClient
|
|
778
778
|
:form_params => form_params,
|
779
779
|
:body => post_body,
|
780
780
|
:auth_names => auth_names,
|
781
|
-
:return_type => '
|
781
|
+
:return_type => 'RotatingTransactionGatewayResponse')
|
782
782
|
if @api_client.config.debugging
|
783
783
|
@api_client.config.logger.debug "API called: ConfigurationApi#update_rotating_transaction_gateway\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
784
784
|
end
|
@@ -29,6 +29,9 @@ module UltracartClient
|
|
29
29
|
# The order ID assigned by the channel partner for this order
|
30
30
|
attr_accessor :channel_partner_order_id
|
31
31
|
|
32
|
+
# Set to true to ignore invalid shipping method being specified. Only applicable on inserting orders.
|
33
|
+
attr_accessor :ignore_invalid_shipping_method
|
34
|
+
|
32
35
|
# Indicates this order should be placed in Account Receivable for later payment processing
|
33
36
|
attr_accessor :no_realtime_payment_processing
|
34
37
|
|
@@ -52,6 +55,7 @@ module UltracartClient
|
|
52
55
|
:'channel_partner_data' => :'channel_partner_data',
|
53
56
|
:'channel_partner_oid' => :'channel_partner_oid',
|
54
57
|
:'channel_partner_order_id' => :'channel_partner_order_id',
|
58
|
+
:'ignore_invalid_shipping_method' => :'ignore_invalid_shipping_method',
|
55
59
|
:'no_realtime_payment_processing' => :'no_realtime_payment_processing',
|
56
60
|
:'skip_payment_processing' => :'skip_payment_processing',
|
57
61
|
:'store_completed' => :'store_completed',
|
@@ -68,6 +72,7 @@ module UltracartClient
|
|
68
72
|
:'channel_partner_data' => :'String',
|
69
73
|
:'channel_partner_oid' => :'Integer',
|
70
74
|
:'channel_partner_order_id' => :'String',
|
75
|
+
:'ignore_invalid_shipping_method' => :'BOOLEAN',
|
71
76
|
:'no_realtime_payment_processing' => :'BOOLEAN',
|
72
77
|
:'skip_payment_processing' => :'BOOLEAN',
|
73
78
|
:'store_completed' => :'BOOLEAN',
|
@@ -104,6 +109,10 @@ module UltracartClient
|
|
104
109
|
self.channel_partner_order_id = attributes[:'channel_partner_order_id']
|
105
110
|
end
|
106
111
|
|
112
|
+
if attributes.has_key?(:'ignore_invalid_shipping_method')
|
113
|
+
self.ignore_invalid_shipping_method = attributes[:'ignore_invalid_shipping_method']
|
114
|
+
end
|
115
|
+
|
107
116
|
if attributes.has_key?(:'no_realtime_payment_processing')
|
108
117
|
self.no_realtime_payment_processing = attributes[:'no_realtime_payment_processing']
|
109
118
|
end
|
@@ -148,6 +157,7 @@ module UltracartClient
|
|
148
157
|
channel_partner_data == o.channel_partner_data &&
|
149
158
|
channel_partner_oid == o.channel_partner_oid &&
|
150
159
|
channel_partner_order_id == o.channel_partner_order_id &&
|
160
|
+
ignore_invalid_shipping_method == o.ignore_invalid_shipping_method &&
|
151
161
|
no_realtime_payment_processing == o.no_realtime_payment_processing &&
|
152
162
|
skip_payment_processing == o.skip_payment_processing &&
|
153
163
|
store_completed == o.store_completed &&
|
@@ -164,7 +174,7 @@ module UltracartClient
|
|
164
174
|
# Calculates hash code according to all attributes.
|
165
175
|
# @return [Fixnum] Hash code
|
166
176
|
def hash
|
167
|
-
[auto_approve_purchase_order, channel_partner_code, channel_partner_data, channel_partner_oid, channel_partner_order_id, no_realtime_payment_processing, skip_payment_processing, store_completed, store_if_payment_declines, treat_warnings_as_errors].hash
|
177
|
+
[auto_approve_purchase_order, channel_partner_code, channel_partner_data, channel_partner_oid, channel_partner_order_id, ignore_invalid_shipping_method, no_realtime_payment_processing, skip_payment_processing, store_completed, store_if_payment_declines, treat_warnings_as_errors].hash
|
168
178
|
end
|
169
179
|
|
170
180
|
# Builds the object from hash
|
@@ -16,10 +16,16 @@ module UltracartClient
|
|
16
16
|
class OrderTrackingNumberDetail
|
17
17
|
attr_accessor :city
|
18
18
|
|
19
|
+
# ISO 8601 timestamp that the event occurred
|
20
|
+
attr_accessor :event_dts
|
21
|
+
|
19
22
|
attr_accessor :event_local_date
|
20
23
|
|
21
24
|
attr_accessor :event_local_time
|
22
25
|
|
26
|
+
# Timezone the event occurred in. Use this in conjunction with event_dts to format a local date/time.
|
27
|
+
attr_accessor :event_timezone_id
|
28
|
+
|
23
29
|
attr_accessor :state
|
24
30
|
|
25
31
|
attr_accessor :subtag
|
@@ -38,8 +44,10 @@ module UltracartClient
|
|
38
44
|
def self.attribute_map
|
39
45
|
{
|
40
46
|
:'city' => :'city',
|
47
|
+
:'event_dts' => :'event_dts',
|
41
48
|
:'event_local_date' => :'event_local_date',
|
42
49
|
:'event_local_time' => :'event_local_time',
|
50
|
+
:'event_timezone_id' => :'event_timezone_id',
|
43
51
|
:'state' => :'state',
|
44
52
|
:'subtag' => :'subtag',
|
45
53
|
:'subtag_message' => :'subtag_message',
|
@@ -54,8 +62,10 @@ module UltracartClient
|
|
54
62
|
def self.swagger_types
|
55
63
|
{
|
56
64
|
:'city' => :'String',
|
65
|
+
:'event_dts' => :'String',
|
57
66
|
:'event_local_date' => :'String',
|
58
67
|
:'event_local_time' => :'String',
|
68
|
+
:'event_timezone_id' => :'String',
|
59
69
|
:'state' => :'String',
|
60
70
|
:'subtag' => :'String',
|
61
71
|
:'subtag_message' => :'String',
|
@@ -78,6 +88,10 @@ module UltracartClient
|
|
78
88
|
self.city = attributes[:'city']
|
79
89
|
end
|
80
90
|
|
91
|
+
if attributes.has_key?(:'event_dts')
|
92
|
+
self.event_dts = attributes[:'event_dts']
|
93
|
+
end
|
94
|
+
|
81
95
|
if attributes.has_key?(:'event_local_date')
|
82
96
|
self.event_local_date = attributes[:'event_local_date']
|
83
97
|
end
|
@@ -86,6 +100,10 @@ module UltracartClient
|
|
86
100
|
self.event_local_time = attributes[:'event_local_time']
|
87
101
|
end
|
88
102
|
|
103
|
+
if attributes.has_key?(:'event_timezone_id')
|
104
|
+
self.event_timezone_id = attributes[:'event_timezone_id']
|
105
|
+
end
|
106
|
+
|
89
107
|
if attributes.has_key?(:'state')
|
90
108
|
self.state = attributes[:'state']
|
91
109
|
end
|
@@ -134,8 +152,10 @@ module UltracartClient
|
|
134
152
|
return true if self.equal?(o)
|
135
153
|
self.class == o.class &&
|
136
154
|
city == o.city &&
|
155
|
+
event_dts == o.event_dts &&
|
137
156
|
event_local_date == o.event_local_date &&
|
138
157
|
event_local_time == o.event_local_time &&
|
158
|
+
event_timezone_id == o.event_timezone_id &&
|
139
159
|
state == o.state &&
|
140
160
|
subtag == o.subtag &&
|
141
161
|
subtag_message == o.subtag_message &&
|
@@ -154,7 +174,7 @@ module UltracartClient
|
|
154
174
|
# Calculates hash code according to all attributes.
|
155
175
|
# @return [Fixnum] Hash code
|
156
176
|
def hash
|
157
|
-
[city, event_local_date, event_local_time, state, subtag, subtag_message, tag, tag_description, tag_icon, zip].hash
|
177
|
+
[city, event_dts, event_local_date, event_local_time, event_timezone_id, state, subtag, subtag_message, tag, tag_description, tag_icon, zip].hash
|
158
178
|
end
|
159
179
|
|
160
180
|
# Builds the object from hash
|
@@ -0,0 +1,221 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class RotatingTransactionGatewayResponse
|
17
|
+
attr_accessor :error
|
18
|
+
|
19
|
+
attr_accessor :metadata
|
20
|
+
|
21
|
+
attr_accessor :rotating_gateway
|
22
|
+
|
23
|
+
# Indicates if API call was successful
|
24
|
+
attr_accessor :success
|
25
|
+
|
26
|
+
attr_accessor :warning
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'error' => :'error',
|
32
|
+
:'metadata' => :'metadata',
|
33
|
+
:'rotating_gateway' => :'rotating_gateway',
|
34
|
+
:'success' => :'success',
|
35
|
+
:'warning' => :'warning'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
def self.swagger_types
|
41
|
+
{
|
42
|
+
:'error' => :'Error',
|
43
|
+
:'metadata' => :'ResponseMetadata',
|
44
|
+
:'rotating_gateway' => :'RotatingTransactionGateway',
|
45
|
+
:'success' => :'BOOLEAN',
|
46
|
+
:'warning' => :'Warning'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
return unless attributes.is_a?(Hash)
|
54
|
+
|
55
|
+
# convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
57
|
+
|
58
|
+
if attributes.has_key?(:'error')
|
59
|
+
self.error = attributes[:'error']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.has_key?(:'metadata')
|
63
|
+
self.metadata = attributes[:'metadata']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes.has_key?(:'rotating_gateway')
|
67
|
+
self.rotating_gateway = attributes[:'rotating_gateway']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.has_key?(:'success')
|
71
|
+
self.success = attributes[:'success']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.has_key?(:'warning')
|
75
|
+
self.warning = attributes[:'warning']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
80
|
+
# @return Array for valid properties with the reasons
|
81
|
+
def list_invalid_properties
|
82
|
+
invalid_properties = Array.new
|
83
|
+
invalid_properties
|
84
|
+
end
|
85
|
+
|
86
|
+
# Check to see if the all the properties in the model are valid
|
87
|
+
# @return true if the model is valid
|
88
|
+
def valid?
|
89
|
+
true
|
90
|
+
end
|
91
|
+
|
92
|
+
# Checks equality by comparing each attribute.
|
93
|
+
# @param [Object] Object to be compared
|
94
|
+
def ==(o)
|
95
|
+
return true if self.equal?(o)
|
96
|
+
self.class == o.class &&
|
97
|
+
error == o.error &&
|
98
|
+
metadata == o.metadata &&
|
99
|
+
rotating_gateway == o.rotating_gateway &&
|
100
|
+
success == o.success &&
|
101
|
+
warning == o.warning
|
102
|
+
end
|
103
|
+
|
104
|
+
# @see the `==` method
|
105
|
+
# @param [Object] Object to be compared
|
106
|
+
def eql?(o)
|
107
|
+
self == o
|
108
|
+
end
|
109
|
+
|
110
|
+
# Calculates hash code according to all attributes.
|
111
|
+
# @return [Fixnum] Hash code
|
112
|
+
def hash
|
113
|
+
[error, metadata, rotating_gateway, success, warning].hash
|
114
|
+
end
|
115
|
+
|
116
|
+
# Builds the object from hash
|
117
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
118
|
+
# @return [Object] Returns the model itself
|
119
|
+
def build_from_hash(attributes)
|
120
|
+
return nil unless attributes.is_a?(Hash)
|
121
|
+
self.class.swagger_types.each_pair do |key, type|
|
122
|
+
if type =~ /\AArray<(.*)>/i
|
123
|
+
# check to ensure the input is an array given that the attribute
|
124
|
+
# is documented as an array but the input is not
|
125
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
126
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
127
|
+
end
|
128
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
129
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
130
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
131
|
+
end
|
132
|
+
|
133
|
+
self
|
134
|
+
end
|
135
|
+
|
136
|
+
# Deserializes the data based on type
|
137
|
+
# @param string type Data type
|
138
|
+
# @param string value Value to be deserialized
|
139
|
+
# @return [Object] Deserialized data
|
140
|
+
def _deserialize(type, value)
|
141
|
+
case type.to_sym
|
142
|
+
when :DateTime
|
143
|
+
DateTime.parse(value)
|
144
|
+
when :Date
|
145
|
+
Date.parse(value)
|
146
|
+
when :String
|
147
|
+
value.to_s
|
148
|
+
when :Integer
|
149
|
+
value.to_i
|
150
|
+
when :Float
|
151
|
+
value.to_f
|
152
|
+
when :BOOLEAN
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
154
|
+
true
|
155
|
+
else
|
156
|
+
false
|
157
|
+
end
|
158
|
+
when :Object
|
159
|
+
# generic object (usually a Hash), return directly
|
160
|
+
value
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
167
|
+
{}.tap do |hash|
|
168
|
+
value.each do |k, v|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
else # model
|
173
|
+
temp_model = UltracartClient.const_get(type).new
|
174
|
+
temp_model.build_from_hash(value)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the string representation of the object
|
179
|
+
# @return [String] String presentation of the object
|
180
|
+
def to_s
|
181
|
+
to_hash.to_s
|
182
|
+
end
|
183
|
+
|
184
|
+
# to_body is an alias to to_hash (backward compatibility)
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
186
|
+
def to_body
|
187
|
+
to_hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the object in the form of hash
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_hash
|
193
|
+
hash = {}
|
194
|
+
self.class.attribute_map.each_pair do |attr, param|
|
195
|
+
value = self.send(attr)
|
196
|
+
next if value.nil?
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Outputs non-array value in the form of hash
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
204
|
+
# @param [Object] value Any valid value
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
206
|
+
def _to_hash(value)
|
207
|
+
if value.is_a?(Array)
|
208
|
+
value.compact.map { |v| _to_hash(v) }
|
209
|
+
elsif value.is_a?(Hash)
|
210
|
+
{}.tap do |hash|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
212
|
+
end
|
213
|
+
elsif value.respond_to? :to_hash
|
214
|
+
value.to_hash
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
end
|
221
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultracart_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -713,12 +713,13 @@ files:
|
|
713
713
|
- docs/ResponseMetadata.md
|
714
714
|
- docs/ResultSet.md
|
715
715
|
- docs/RotatingTransactionGateway.md
|
716
|
+
- docs/RotatingTransactionGatewayResponse.md
|
716
717
|
- docs/RotatingTransactionGatewaysResponse.md
|
717
718
|
- docs/RtgCurrency.md
|
718
719
|
- docs/RtgDayOfMonthRestriction.md
|
719
720
|
- docs/RtgDayOfWeekRestriction.md
|
720
|
-
- docs/RtgSummary.md
|
721
721
|
- docs/RtgSummaryGateway.md
|
722
|
+
- docs/RtgSummaryResponse.md
|
722
723
|
- docs/RtgThemeRestriction.md
|
723
724
|
- docs/ScreenRecording.md
|
724
725
|
- docs/ScreenRecordingAdPlatform.md
|
@@ -1361,12 +1362,13 @@ files:
|
|
1361
1362
|
- lib/ultracart_api/models/response_metadata.rb
|
1362
1363
|
- lib/ultracart_api/models/result_set.rb
|
1363
1364
|
- lib/ultracart_api/models/rotating_transaction_gateway.rb
|
1365
|
+
- lib/ultracart_api/models/rotating_transaction_gateway_response.rb
|
1364
1366
|
- lib/ultracart_api/models/rotating_transaction_gateways_response.rb
|
1365
1367
|
- lib/ultracart_api/models/rtg_currency.rb
|
1366
1368
|
- lib/ultracart_api/models/rtg_day_of_month_restriction.rb
|
1367
1369
|
- lib/ultracart_api/models/rtg_day_of_week_restriction.rb
|
1368
|
-
- lib/ultracart_api/models/rtg_summary.rb
|
1369
1370
|
- lib/ultracart_api/models/rtg_summary_gateway.rb
|
1371
|
+
- lib/ultracart_api/models/rtg_summary_response.rb
|
1370
1372
|
- lib/ultracart_api/models/rtg_theme_restriction.rb
|
1371
1373
|
- lib/ultracart_api/models/screen_recording.rb
|
1372
1374
|
- lib/ultracart_api/models/screen_recording_ad_platform.rb
|