boxx_client 1.4.1
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 +109 -0
- data/Rakefile +8 -0
- data/boxx_client.gemspec +46 -0
- data/dist/boxx_client-1.4.0.gem +0 -0
- data/dist/examples/upload_customer.rb +76 -0
- data/dist/examples/upload_product.rb +54 -0
- data/dist/examples/upload_transaction.rb +56 -0
- data/docs/DeleteAll.md +10 -0
- data/docs/DeleteAllApi.md +56 -0
- data/docs/DeleteSpecific.md +11 -0
- data/docs/DeleteSpecificApi.md +56 -0
- data/docs/InlineResponse200.md +9 -0
- data/docs/InlineResponse2001.md +9 -0
- data/docs/InlineResponse2001Response.md +9 -0
- data/docs/InlineResponse200Response.md +11 -0
- data/docs/InlineResponse400.md +9 -0
- data/docs/InlineResponse4001.md +9 -0
- data/docs/UploadCustomer.md +14 -0
- data/docs/UploadCustomerDeviceTokens.md +11 -0
- data/docs/UploadCustomerMobileTokens.md +10 -0
- data/docs/UploadCustomerRequest.md +11 -0
- data/docs/UploadDataApi.md +149 -0
- data/docs/UploadOkResponse.md +9 -0
- data/docs/UploadOkResponseResult.md +11 -0
- data/docs/UploadProduct.md +13 -0
- data/docs/UploadProductRequest.md +11 -0
- data/docs/UploadTransaction.md +16 -0
- data/docs/UploadTransactionRequest.md +11 -0
- data/git_push.sh +55 -0
- data/lib/boxx_client.rb +60 -0
- data/lib/boxx_client/api/delete_all_api.rb +78 -0
- data/lib/boxx_client/api/delete_specific_api.rb +78 -0
- data/lib/boxx_client/api/upload_data_api.rb +188 -0
- data/lib/boxx_client/api_client.rb +388 -0
- data/lib/boxx_client/api_error.rb +38 -0
- data/lib/boxx_client/configuration.rb +202 -0
- data/lib/boxx_client/models/delete_all.rb +224 -0
- data/lib/boxx_client/models/delete_specific.rb +241 -0
- data/lib/boxx_client/models/inline_response_200.rb +197 -0
- data/lib/boxx_client/models/inline_response_200_1.rb +197 -0
- data/lib/boxx_client/models/inline_response_200_1_response.rb +199 -0
- data/lib/boxx_client/models/inline_response_200_response.rb +217 -0
- data/lib/boxx_client/models/inline_response_400.rb +197 -0
- data/lib/boxx_client/models/inline_response_400_1.rb +197 -0
- data/lib/boxx_client/models/upload_customer.rb +255 -0
- data/lib/boxx_client/models/upload_customer_device_tokens.rb +215 -0
- data/lib/boxx_client/models/upload_customer_mobile_tokens.rb +206 -0
- data/lib/boxx_client/models/upload_customer_request.rb +236 -0
- data/lib/boxx_client/models/upload_ok_response.rb +197 -0
- data/lib/boxx_client/models/upload_ok_response_result.rb +217 -0
- data/lib/boxx_client/models/upload_product.rb +244 -0
- data/lib/boxx_client/models/upload_product_request.rb +236 -0
- data/lib/boxx_client/models/upload_transaction.rb +279 -0
- data/lib/boxx_client/models/upload_transaction_request.rb +236 -0
- data/lib/boxx_client/version.rb +15 -0
- data/spec/api/delete_all_api_spec.rb +47 -0
- data/spec/api/delete_specific_api_spec.rb +47 -0
- data/spec/api/upload_data_api_spec.rb +71 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/delete_all_spec.rb +54 -0
- data/spec/models/delete_specific_spec.rb +60 -0
- data/spec/models/inline_response_200_1_response_spec.rb +48 -0
- data/spec/models/inline_response_200_1_spec.rb +48 -0
- data/spec/models/inline_response_200_response_spec.rb +60 -0
- data/spec/models/inline_response_200_spec.rb +48 -0
- data/spec/models/inline_response_400_1_spec.rb +48 -0
- data/spec/models/inline_response_400_spec.rb +48 -0
- data/spec/models/upload_customer_device_tokens_spec.rb +60 -0
- data/spec/models/upload_customer_mobile_tokens_spec.rb +54 -0
- data/spec/models/upload_customer_request_spec.rb +60 -0
- data/spec/models/upload_customer_spec.rb +78 -0
- data/spec/models/upload_ok_response_result_spec.rb +60 -0
- data/spec/models/upload_ok_response_spec.rb +48 -0
- data/spec/models/upload_product_request_spec.rb +60 -0
- data/spec/models/upload_product_spec.rb +72 -0
- data/spec/models/upload_transaction_request_spec.rb +60 -0
- data/spec/models/upload_transaction_spec.rb +90 -0
- data/spec/spec_helper.rb +111 -0
- metadata +327 -0
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadCustomerDeviceTokens
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadCustomerDeviceTokens' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadCustomerDeviceTokens.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadCustomerDeviceTokens' do
|
31
|
+
it 'should create an instance of UploadCustomerDeviceTokens' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadCustomerDeviceTokens)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "endpoint"' 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 "p256dh"' 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 "auth"' 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 "browser"' 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
|
+
end
|
60
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadCustomerMobileTokens
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadCustomerMobileTokens' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadCustomerMobileTokens.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadCustomerMobileTokens' do
|
31
|
+
it 'should create an instance of UploadCustomerMobileTokens' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadCustomerMobileTokens)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "device_registration"' 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 "device_platform"' 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 "source"' 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
|
54
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadCustomerRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadCustomerRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadCustomerRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadCustomerRequest' do
|
31
|
+
it 'should create an instance of UploadCustomerRequest' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadCustomerRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "client_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 "access_token"' 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 "data"' 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 "data_format"' 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
|
+
end
|
60
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadCustomer
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadCustomer' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadCustomer.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadCustomer' do
|
31
|
+
it 'should create an instance of UploadCustomer' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadCustomer)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "customerid"' 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 "properties"' 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 "email"' 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 "phone"' 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 "location"' 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 "device_tokens"' 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 "mobile_tokens"' 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
|
78
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadOkResponseResult
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadOkResponseResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadOkResponseResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadOkResponseResult' do
|
31
|
+
it 'should create an instance of UploadOkResponseResult' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadOkResponseResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "total"' 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 "failed"' 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 "inserted"' 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 "updated"' 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
|
+
end
|
60
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadOkResponse
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadOkResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadOkResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadOkResponse' do
|
31
|
+
it 'should create an instance of UploadOkResponse' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadOkResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "status"' 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 "result"' 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
|
48
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadProductRequest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadProductRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadProductRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadProductRequest' do
|
31
|
+
it 'should create an instance of UploadProductRequest' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadProductRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "client_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 "access_token"' 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 "data"' 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 "data_format"' 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
|
+
end
|
60
|
+
|
@@ -0,0 +1,72 @@
|
|
1
|
+
=begin
|
2
|
+
#Upload and Delete Data API
|
3
|
+
|
4
|
+
#Boxx.ai's customer, product and interaction data ingestion sdk
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.4.1
|
7
|
+
Contact: aida@boxx.ai
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BoxxClient::UploadProduct
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UploadProduct' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BoxxClient::UploadProduct.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UploadProduct' do
|
31
|
+
it 'should create an instance of UploadProduct' do
|
32
|
+
expect(@instance).to be_instance_of(BoxxClient::UploadProduct)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "productid"' 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 "active"' 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 "start_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 "end_date"' 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 "location"' 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 "properties"' 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
|
+
end
|
72
|
+
|