wine_shipping 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +128 -0
- data/Rakefile +8 -0
- data/docs/Authentication.md +10 -0
- data/docs/BillingContactInfo.md +18 -0
- data/docs/DeliveryContactInfo.md +17 -0
- data/docs/Inventory.md +20 -0
- data/docs/InventoryApi.md +102 -0
- data/docs/InventoryMovementApi.md +100 -0
- data/docs/InventoryStatusRequest.md +13 -0
- data/docs/InventoryStatusResult.md +12 -0
- data/docs/ItemInfo.md +10 -0
- data/docs/OrderOnHold.md +19 -0
- data/docs/OrderOnHoldItem.md +11 -0
- data/docs/PackageItem.md +10 -0
- data/docs/PurchaseOrderDetails.md +10 -0
- data/docs/PurchaseOrderInfo.md +24 -0
- data/docs/PurchaseOrderItemInfo.md +10 -0
- data/docs/RecipientContactInfo.md +18 -0
- data/docs/RequestorInfo.md +11 -0
- data/docs/ReturnResult.md +12 -0
- data/docs/ReturnSalesOrderHeader.md +31 -0
- data/docs/ReturnSalesOrderLine.md +13 -0
- data/docs/ReturnsRequest.md +16 -0
- data/docs/SKUApi.md +54 -0
- data/docs/SKUDetails.md +10 -0
- data/docs/SKUInfo.md +20 -0
- data/docs/SalesOrderApi.md +240 -0
- data/docs/SalesOrderCancelRequest.md +9 -0
- data/docs/SalesOrderDetails.md +14 -0
- data/docs/SalesOrderInfo.md +20 -0
- data/docs/ShipmentInfo.md +13 -0
- data/docs/TrackingApi.md +55 -0
- data/docs/TrackingRequest.md +9 -0
- data/docs/TrackingResult.md +28 -0
- data/docs/TransferOrderDetails.md +10 -0
- data/docs/TransferOrderInfo.md +17 -0
- data/docs/TransferOrderItemInfo.md +10 -0
- data/docs/WarehouseInventoryStatus.md +19 -0
- data/git_push.sh +55 -0
- data/lib/.DS_Store +0 -0
- data/lib/wine_shipping.rb +75 -0
- data/lib/wine_shipping/api/inventory_api.rb +127 -0
- data/lib/wine_shipping/api/inventory_movement_api.rb +125 -0
- data/lib/wine_shipping/api/sales_order_api.rb +280 -0
- data/lib/wine_shipping/api/sku_api.rb +74 -0
- data/lib/wine_shipping/api/tracking_api.rb +75 -0
- data/lib/wine_shipping/api_client.rb +388 -0
- data/lib/wine_shipping/api_error.rb +38 -0
- data/lib/wine_shipping/configuration.rb +202 -0
- data/lib/wine_shipping/models/authentication.rb +201 -0
- data/lib/wine_shipping/models/billing_contact_info.rb +273 -0
- data/lib/wine_shipping/models/delivery_contact_info.rb +298 -0
- data/lib/wine_shipping/models/inventory.rb +291 -0
- data/lib/wine_shipping/models/inventory_status_request.rb +230 -0
- data/lib/wine_shipping/models/inventory_status_result.rb +221 -0
- data/lib/wine_shipping/models/item_info.rb +201 -0
- data/lib/wine_shipping/models/order_on_hold.rb +284 -0
- data/lib/wine_shipping/models/order_on_hold_item.rb +210 -0
- data/lib/wine_shipping/models/package_item.rb +201 -0
- data/lib/wine_shipping/models/purchase_order_details.rb +203 -0
- data/lib/wine_shipping/models/purchase_order_info.rb +361 -0
- data/lib/wine_shipping/models/purchase_order_item_info.rb +201 -0
- data/lib/wine_shipping/models/recipient_contact_info.rb +273 -0
- data/lib/wine_shipping/models/requestor_info.rb +210 -0
- data/lib/wine_shipping/models/return_result.rb +221 -0
- data/lib/wine_shipping/models/return_sales_order_header.rb +392 -0
- data/lib/wine_shipping/models/return_sales_order_line.rb +228 -0
- data/lib/wine_shipping/models/returns_request.rb +257 -0
- data/lib/wine_shipping/models/sales_order_cancel_request.rb +192 -0
- data/lib/wine_shipping/models/sales_order_details.rb +239 -0
- data/lib/wine_shipping/models/sales_order_info.rb +325 -0
- data/lib/wine_shipping/models/shipment_info.rb +274 -0
- data/lib/wine_shipping/models/sku_details.rb +201 -0
- data/lib/wine_shipping/models/sku_info.rb +325 -0
- data/lib/wine_shipping/models/tracking_request.rb +192 -0
- data/lib/wine_shipping/models/tracking_result.rb +365 -0
- data/lib/wine_shipping/models/transfer_order_details.rb +203 -0
- data/lib/wine_shipping/models/transfer_order_info.rb +264 -0
- data/lib/wine_shipping/models/transfer_order_item_info.rb +201 -0
- data/lib/wine_shipping/models/warehouse_inventory_status.rb +282 -0
- data/lib/wine_shipping/version.rb +15 -0
- data/spec/api/inventory_api_spec.rb +57 -0
- data/spec/api/inventory_movement_api_spec.rb +57 -0
- data/spec/api/sales_order_api_spec.rb +90 -0
- data/spec/api/sku_api_spec.rb +46 -0
- data/spec/api/tracking_api_spec.rb +46 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/authentication_spec.rb +53 -0
- data/spec/models/billing_contact_info_spec.rb +101 -0
- data/spec/models/delivery_contact_info_spec.rb +99 -0
- data/spec/models/inventory_spec.rb +113 -0
- data/spec/models/inventory_status_request_spec.rb +71 -0
- data/spec/models/inventory_status_result_spec.rb +65 -0
- data/spec/models/item_info_spec.rb +53 -0
- data/spec/models/order_on_hold_item_spec.rb +59 -0
- data/spec/models/order_on_hold_spec.rb +107 -0
- data/spec/models/package_item_spec.rb +53 -0
- data/spec/models/purchase_order_details_spec.rb +53 -0
- data/spec/models/purchase_order_info_spec.rb +141 -0
- data/spec/models/purchase_order_item_info_spec.rb +53 -0
- data/spec/models/recipient_contact_info_spec.rb +101 -0
- data/spec/models/requestor_info_spec.rb +59 -0
- data/spec/models/return_result_spec.rb +65 -0
- data/spec/models/return_sales_order_header_spec.rb +179 -0
- data/spec/models/return_sales_order_line_spec.rb +71 -0
- data/spec/models/returns_request_spec.rb +89 -0
- data/spec/models/sales_order_cancel_request_spec.rb +47 -0
- data/spec/models/sales_order_details_spec.rb +77 -0
- data/spec/models/sales_order_info_spec.rb +117 -0
- data/spec/models/shipment_info_spec.rb +79 -0
- data/spec/models/sku_details_spec.rb +53 -0
- data/spec/models/sku_info_spec.rb +117 -0
- data/spec/models/tracking_request_spec.rb +47 -0
- data/spec/models/tracking_result_spec.rb +161 -0
- data/spec/models/transfer_order_details_spec.rb +53 -0
- data/spec/models/transfer_order_info_spec.rb +95 -0
- data/spec/models/transfer_order_item_info_spec.rb +53 -0
- data/spec/models/warehouse_inventory_status_spec.rb +107 -0
- data/spec/spec_helper.rb +111 -0
- data/wine_shipping.gemspec +45 -0
- metadata +390 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#API from Wineshipping
|
3
|
+
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
5
|
+
|
6
|
+
OpenAPI spec version: V3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.7
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for WineShipping::SalesOrderCancelRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SalesOrderCancelRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = WineShipping::SalesOrderCancelRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SalesOrderCancelRequest' do
|
31
|
+
it 'should create an instance of SalesOrderCancelRequest' do
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::SalesOrderCancelRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "authentication"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "order_number"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
#API from Wineshipping
|
3
|
+
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
5
|
+
|
6
|
+
OpenAPI spec version: V3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.7
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for WineShipping::SalesOrderDetails
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SalesOrderDetails' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = WineShipping::SalesOrderDetails.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SalesOrderDetails' do
|
31
|
+
it 'should create an instance of SalesOrderDetails' do
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::SalesOrderDetails)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "authentication"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "order_info"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "billing_contact_info"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "delivery_contact_info"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "recipient_contact_info"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "shipment_info"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "items_info"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
@@ -0,0 +1,117 @@
|
|
1
|
+
=begin
|
2
|
+
#API from Wineshipping
|
3
|
+
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
5
|
+
|
6
|
+
OpenAPI spec version: V3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.7
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for WineShipping::SalesOrderInfo
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SalesOrderInfo' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = WineShipping::SalesOrderInfo.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SalesOrderInfo' do
|
31
|
+
it 'should create an instance of SalesOrderInfo' do
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::SalesOrderInfo)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "transmission_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "batch_id"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "batch_description"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "order_no"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "po_no"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "shipment_key"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "order_type"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "order_source"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "order_date"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "gift_card"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', ["0", "1"])
|
93
|
+
# validator.allowable_values.each do |value|
|
94
|
+
# expect { @instance.gift_card = value }.not_to raise_error
|
95
|
+
# end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe 'test attribute "gift_card_message"' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe 'test attribute "tags"' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
describe 'test attribute "special_instructions"' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
=begin
|
2
|
+
#API from Wineshipping
|
3
|
+
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
5
|
+
|
6
|
+
OpenAPI spec version: V3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.7
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for WineShipping::ShipmentInfo
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ShipmentInfo' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = WineShipping::ShipmentInfo.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ShipmentInfo' do
|
31
|
+
it 'should create an instance of ShipmentInfo' do
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::ShipmentInfo)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "shipping_carrier"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "shipping_carrier_service"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "requested_shipment_date"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "insurance"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', ["0", "1"])
|
57
|
+
# validator.allowable_values.each do |value|
|
58
|
+
# expect { @instance.insurance = value }.not_to raise_error
|
59
|
+
# end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "ice_pack"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', ["0", "1"])
|
67
|
+
# validator.allowable_values.each do |value|
|
68
|
+
# expect { @instance.ice_pack = value }.not_to raise_error
|
69
|
+
# end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
describe 'test attribute "wineshipping_warehouse_location"' do
|
74
|
+
it 'should work' do
|
75
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#API from Wineshipping
|
3
|
+
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
5
|
+
|
6
|
+
OpenAPI spec version: V3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.7
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for WineShipping::SKUDetails
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SKUDetails' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = WineShipping::SKUDetails.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SKUDetails' do
|
31
|
+
it 'should create an instance of SKUDetails' do
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::SKUDetails)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "authentication"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "requestor_info"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "sku_info"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,117 @@
|
|
1
|
+
=begin
|
2
|
+
#API from Wineshipping
|
3
|
+
|
4
|
+
#Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
|
5
|
+
|
6
|
+
OpenAPI spec version: V3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.7
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for WineShipping::SKUInfo
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SKUInfo' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = WineShipping::SKUInfo.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SKUInfo' do
|
31
|
+
it 'should create an instance of SKUInfo' do
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::SKUInfo)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "item_category"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', ["1", "2", "3"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.item_category = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "item_no"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "item_description"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "vintage"' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "varietal"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "appellation"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "value"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "alcohol_by_volume"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe 'test attribute "upc_code"' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
describe 'test attribute "uom"' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe 'test attribute "num_bottle_in_each_case"' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe 'test attribute "classification"' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
describe 'test attribute "comments"' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|