omnichannel 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 +8 -0
- data/Gemfile.lock +79 -0
- data/README.md +120 -0
- data/Rakefile +10 -0
- data/config.json +12 -0
- data/docs/Channel.md +7 -0
- data/docs/DeliveryReportApi.md +58 -0
- data/docs/DeliveryReportResponse.md +10 -0
- data/docs/DeliveryResult.md +13 -0
- data/docs/Err.md +7 -0
- data/docs/ErrorItem.md +11 -0
- data/docs/ErrorResponse.md +8 -0
- data/docs/Message.md +9 -0
- data/docs/MessageResult.md +10 -0
- data/docs/OmniMessageCreateSuccessResponse.md +10 -0
- data/docs/Omnimessage.md +11 -0
- data/docs/OmnimessageApi.md +107 -0
- data/docs/ResponseErrorCode.md +7 -0
- data/docs/ResponseErrorTitle.md +7 -0
- data/docs/SMS.md +13 -0
- data/docs/Status.md +7 -0
- data/docs/Viber.md +14 -0
- data/docs/WhatsApp.md +14 -0
- data/docs/WhatsAppAudio.md +8 -0
- data/docs/WhatsAppDocument.md +9 -0
- data/docs/WhatsAppImage.md +9 -0
- data/docs/WhatsAppText.md +9 -0
- data/git_push.sh +55 -0
- data/lib/omnichannel.rb +60 -0
- data/lib/omnichannel/api/delivery_report_api.rb +74 -0
- data/lib/omnichannel/api/omnimessage_api.rb +126 -0
- data/lib/omnichannel/api_client.rb +387 -0
- data/lib/omnichannel/api_error.rb +38 -0
- data/lib/omnichannel/configuration.rb +251 -0
- data/lib/omnichannel/models/channel.rb +39 -0
- data/lib/omnichannel/models/delivery_report_response.rb +229 -0
- data/lib/omnichannel/models/delivery_result.rb +239 -0
- data/lib/omnichannel/models/err.rb +48 -0
- data/lib/omnichannel/models/error_item.rb +240 -0
- data/lib/omnichannel/models/error_response.rb +198 -0
- data/lib/omnichannel/models/message.rb +207 -0
- data/lib/omnichannel/models/message_result.rb +226 -0
- data/lib/omnichannel/models/omni_message_create_success_response.rb +229 -0
- data/lib/omnichannel/models/omnimessage.rb +233 -0
- data/lib/omnichannel/models/response_error_code.rb +43 -0
- data/lib/omnichannel/models/response_error_title.rb +42 -0
- data/lib/omnichannel/models/sms.rb +249 -0
- data/lib/omnichannel/models/status.rb +47 -0
- data/lib/omnichannel/models/viber.rb +254 -0
- data/lib/omnichannel/models/whats_app.rb +250 -0
- data/lib/omnichannel/models/whats_app_audio.rb +197 -0
- data/lib/omnichannel/models/whats_app_document.rb +207 -0
- data/lib/omnichannel/models/whats_app_image.rb +207 -0
- data/lib/omnichannel/models/whats_app_text.rb +209 -0
- data/lib/omnichannel/version.rb +15 -0
- data/lib/openapi_client.rb +61 -0
- data/lib/openapi_client/api/delivery_report_api.rb +74 -0
- data/lib/openapi_client/api/omnimessage_api.rb +126 -0
- data/lib/openapi_client/api_client.rb +387 -0
- data/lib/openapi_client/api_error.rb +38 -0
- data/lib/openapi_client/configuration.rb +251 -0
- data/lib/openapi_client/models/channel.rb +39 -0
- data/lib/openapi_client/models/delivery_report_response.rb +229 -0
- data/lib/openapi_client/models/delivery_result.rb +239 -0
- data/lib/openapi_client/models/err.rb +48 -0
- data/lib/openapi_client/models/error_item.rb +240 -0
- data/lib/openapi_client/models/error_response.rb +198 -0
- data/lib/openapi_client/models/message.rb +221 -0
- data/lib/openapi_client/models/message_result.rb +226 -0
- data/lib/openapi_client/models/omni_message_create_success_response.rb +229 -0
- data/lib/openapi_client/models/omnimessage.rb +233 -0
- data/lib/openapi_client/models/response_error_code.rb +43 -0
- data/lib/openapi_client/models/response_error_title.rb +42 -0
- data/lib/openapi_client/models/sms.rb +228 -0
- data/lib/openapi_client/models/status.rb +47 -0
- data/lib/openapi_client/models/viber.rb +233 -0
- data/lib/openapi_client/models/whats_app.rb +229 -0
- data/lib/openapi_client/models/whats_app_audio.rb +197 -0
- data/lib/openapi_client/models/whats_app_document.rb +207 -0
- data/lib/openapi_client/models/whats_app_image.rb +207 -0
- data/lib/openapi_client/models/whats_app_text.rb +209 -0
- data/lib/openapi_client/version.rb +15 -0
- data/omnichannel.gemspec +45 -0
- data/spec/api/delivery_report_api_spec.rb +46 -0
- data/spec/api/omnimessage_api_spec.rb +57 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/channel_spec.rb +35 -0
- data/spec/models/delivery_report_response_spec.rb +53 -0
- data/spec/models/delivery_result_spec.rb +71 -0
- data/spec/models/err_spec.rb +35 -0
- data/spec/models/error_item_spec.rb +59 -0
- data/spec/models/error_response_spec.rb +41 -0
- data/spec/models/message_result_spec.rb +53 -0
- data/spec/models/message_spec.rb +53 -0
- data/spec/models/omni_message_create_success_response_spec.rb +53 -0
- data/spec/models/omnimessage_spec.rb +59 -0
- data/spec/models/response_error_code_spec.rb +35 -0
- data/spec/models/response_error_title_spec.rb +35 -0
- data/spec/models/sms_spec.rb +71 -0
- data/spec/models/status_spec.rb +35 -0
- data/spec/models/viber_spec.rb +77 -0
- data/spec/models/whats_app_audio_spec.rb +41 -0
- data/spec/models/whats_app_document_spec.rb +47 -0
- data/spec/models/whats_app_image_spec.rb +47 -0
- data/spec/models/whats_app_spec.rb +77 -0
- data/spec/models/whats_app_text_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- data/templates/README.mustache +114 -0
- metadata +358 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::DeliveryResult
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'DeliveryResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::DeliveryResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of DeliveryResult' do
|
31
|
+
it 'should create an instance of DeliveryResult' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::DeliveryResult)
|
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 "channel"' 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 "message_id"' 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 "error"' 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 "err"' 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 "timestamp"' 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
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::Err
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Err' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::Err.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Err' do
|
31
|
+
it 'should create an instance of Err' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::Err)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ErrorItem
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ErrorItem' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ErrorItem.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ErrorItem' do
|
31
|
+
it 'should create an instance of ErrorItem' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ErrorItem)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "title"' 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 "detail"' 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 "code"' 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 "source"' 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
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ErrorResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ErrorResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ErrorResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ErrorResponse' do
|
31
|
+
it 'should create an instance of ErrorResponse' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ErrorResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "errors"' 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
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::MessageResult
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MessageResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::MessageResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MessageResult' do
|
31
|
+
it 'should create an instance of MessageResult' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::MessageResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "message_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 "channel"' 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 "sender"' 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
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::Message
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Message' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::Message.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Message' do
|
31
|
+
it 'should create an instance of Message' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::Message)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "channel"' 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 "sender"' 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 "validity"' 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
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::OmniMessageCreateSuccessResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'OmniMessageCreateSuccessResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::OmniMessageCreateSuccessResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of OmniMessageCreateSuccessResponse' do
|
31
|
+
it 'should create an instance of OmniMessageCreateSuccessResponse' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::OmniMessageCreateSuccessResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "messages"' 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 "to"' 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 "omnimessage_id"' 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,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::Omnimessage
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Omnimessage' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::Omnimessage.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Omnimessage' do
|
31
|
+
it 'should create an instance of Omnimessage' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::Omnimessage)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "messages"' 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 "to"' 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 "dlr_url"' 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 "time_to_send"' 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
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
#Omnichannel API
|
3
|
+
|
4
|
+
#Messente's API which allows sending messages via various channels with fallback options.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.2
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 3.3.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ResponseErrorCode
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ResponseErrorCode' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ResponseErrorCode.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ResponseErrorCode' do
|
31
|
+
it 'should create an instance of ResponseErrorCode' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ResponseErrorCode)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|