wine_shipping 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,107 @@
|
|
|
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::OrderOnHold
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'OrderOnHold' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::OrderOnHold.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of OrderOnHold' do
|
|
31
|
+
it 'should create an instance of OrderOnHold' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::OrderOnHold)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "customer_no"' 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 "customer_name"' 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 "order_no"' 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_type"' 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 "order_date"' 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_date"' 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 "shipping_site"' 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 "shipping_warehouse"' 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 "hold_reason"' 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 "shipping_carrier"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "shipping_carrier_service"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "order_on_hold_items"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
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::PackageItem
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PackageItem' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::PackageItem.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PackageItem' do
|
|
31
|
+
it 'should create an instance of PackageItem' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::PackageItem)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "item_no"' 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 "quantity"' 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 "item_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
|
+
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::PurchaseOrderDetails
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PurchaseOrderDetails' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::PurchaseOrderDetails.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PurchaseOrderDetails' do
|
|
31
|
+
it 'should create an instance of PurchaseOrderDetails' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::PurchaseOrderDetails)
|
|
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 "items_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,141 @@
|
|
|
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::PurchaseOrderInfo
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PurchaseOrderInfo' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::PurchaseOrderInfo.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PurchaseOrderInfo' do
|
|
31
|
+
it 'should create an instance of PurchaseOrderInfo' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::PurchaseOrderInfo)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "customer_reference_no"' 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 "transport_method"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Integer', ["1", "2"])
|
|
45
|
+
# validator.allowable_values.each do |value|
|
|
46
|
+
# expect { @instance.transport_method = value }.not_to raise_error
|
|
47
|
+
# end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
describe 'test attribute "requested_date"' 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 "receive_to_location"' 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 "inventory_status_code"' 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 "reference_no"' 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 "first_name"' 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 "last_name"' 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 "company"' 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 "address"' 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 "address2"' 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 "city"' 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 "state"' 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
|
+
describe 'test attribute "zip_code"' do
|
|
118
|
+
it 'should work' do
|
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
describe 'test attribute "phone_number"' do
|
|
124
|
+
it 'should work' do
|
|
125
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
describe 'test attribute "email_address"' do
|
|
130
|
+
it 'should work' do
|
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
describe 'test attribute "special_instruction"' do
|
|
136
|
+
it 'should work' do
|
|
137
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
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::PurchaseOrderItemInfo
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'PurchaseOrderItemInfo' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::PurchaseOrderItemInfo.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of PurchaseOrderItemInfo' do
|
|
31
|
+
it 'should create an instance of PurchaseOrderItemInfo' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::PurchaseOrderItemInfo)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "item_no"' 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 "item_description"' 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 "item_quantity"' 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,101 @@
|
|
|
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::RecipientContactInfo
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RecipientContactInfo' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = WineShipping::RecipientContactInfo.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RecipientContactInfo' do
|
|
31
|
+
it 'should create an instance of RecipientContactInfo' do
|
|
32
|
+
expect(@instance).to be_instance_of(WineShipping::RecipientContactInfo)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "first_name"' 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 "last_name"' 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 "company"' 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 "address"' 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 "address2"' 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 "city"' 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 "state"' 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 "zip_code"' 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 "country"' 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 "phone_number"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "email_address"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
end
|