messente_api 1.0.2 → 1.0.3
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 +5 -5
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/docs/BlacklistApi.md +3 -3
- data/docs/ContactsApi.md +11 -11
- data/docs/GroupsApi.md +5 -5
- data/lib/messente_api.rb +1 -1
- data/lib/messente_api/api/blacklist_api.rb +4 -4
- data/lib/messente_api/api/contacts_api.rb +8 -8
- data/lib/messente_api/api/delivery_report_api.rb +3 -3
- data/lib/messente_api/api/groups_api.rb +5 -5
- data/lib/messente_api/api/omnimessage_api.rb +3 -3
- data/lib/messente_api/api_client.rb +2 -3
- data/lib/messente_api/api_error.rb +1 -1
- data/lib/messente_api/configuration.rb +2 -5
- data/lib/messente_api/models/channel.rb +1 -1
- data/lib/messente_api/models/contact_envelope.rb +1 -1
- data/lib/messente_api/models/contact_fields.rb +1 -1
- data/lib/messente_api/models/contact_list_envelope.rb +1 -1
- data/lib/messente_api/models/contact_update_fields.rb +1 -1
- data/lib/messente_api/models/delivery_report_response.rb +1 -1
- data/lib/messente_api/models/delivery_result.rb +1 -1
- data/lib/messente_api/models/error_code_omnichannel.rb +1 -1
- data/lib/messente_api/models/error_code_omnichannel_machine.rb +1 -1
- data/lib/messente_api/models/error_code_phonebook.rb +1 -1
- data/lib/messente_api/models/error_item_omnichannel.rb +1 -1
- data/lib/messente_api/models/error_item_phonebook.rb +1 -1
- data/lib/messente_api/models/error_omnichannel.rb +1 -1
- data/lib/messente_api/models/error_phonebook.rb +1 -1
- data/lib/messente_api/models/error_title_omnichannel.rb +1 -1
- data/lib/messente_api/models/error_title_phonebook.rb +1 -1
- data/lib/messente_api/models/fetch_blacklist_success.rb +1 -1
- data/lib/messente_api/models/group_envelope.rb +1 -1
- data/lib/messente_api/models/group_list_envelope.rb +1 -1
- data/lib/messente_api/models/group_name.rb +1 -1
- data/lib/messente_api/models/group_response_fields.rb +1 -1
- data/lib/messente_api/models/message_result.rb +1 -1
- data/lib/messente_api/models/number_to_blacklist.rb +1 -1
- data/lib/messente_api/models/omni_message_create_success_response.rb +1 -1
- data/lib/messente_api/models/omnimessage.rb +1 -1
- data/lib/messente_api/models/sms.rb +1 -1
- data/lib/messente_api/models/status.rb +1 -1
- data/lib/messente_api/models/text_store.rb +1 -1
- data/lib/messente_api/models/viber.rb +1 -1
- data/lib/messente_api/models/whats_app.rb +1 -1
- data/lib/messente_api/models/whats_app_audio.rb +1 -1
- data/lib/messente_api/models/whats_app_document.rb +1 -1
- data/lib/messente_api/models/whats_app_image.rb +1 -1
- data/lib/messente_api/models/whats_app_text.rb +1 -1
- data/lib/messente_api/version.rb +2 -2
- data/messente_api.gemspec +3 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +17 -96
- data/spec/api/blacklist_api_spec.rb +0 -78
- data/spec/api/contacts_api_spec.rb +0 -126
- data/spec/api/delivery_report_api_spec.rb +0 -46
- data/spec/api/groups_api_spec.rb +0 -90
- data/spec/api/omnimessage_api_spec.rb +0 -57
- data/spec/models/channel_spec.rb +0 -35
- data/spec/models/contact_envelope_spec.rb +0 -41
- data/spec/models/contact_fields_spec.rb +0 -95
- data/spec/models/contact_list_envelope_spec.rb +0 -41
- data/spec/models/contact_update_fields_spec.rb +0 -89
- data/spec/models/delivery_report_response_spec.rb +0 -53
- data/spec/models/delivery_result_spec.rb +0 -71
- data/spec/models/error_code_omnichannel_machine_spec.rb +0 -35
- data/spec/models/error_code_omnichannel_spec.rb +0 -35
- data/spec/models/error_code_phonebook_spec.rb +0 -35
- data/spec/models/error_item_omnichannel_spec.rb +0 -59
- data/spec/models/error_item_phonebook_spec.rb +0 -53
- data/spec/models/error_omnichannel_spec.rb +0 -41
- data/spec/models/error_phonebook_spec.rb +0 -41
- data/spec/models/error_title_omnichannel_spec.rb +0 -35
- data/spec/models/error_title_phonebook_spec.rb +0 -35
- data/spec/models/fetch_blacklist_success_spec.rb +0 -41
- data/spec/models/group_envelope_spec.rb +0 -41
- data/spec/models/group_list_envelope_spec.rb +0 -41
- data/spec/models/group_name_spec.rb +0 -41
- data/spec/models/group_response_fields_spec.rb +0 -59
- data/spec/models/message_result_spec.rb +0 -53
- data/spec/models/number_to_blacklist_spec.rb +0 -41
- data/spec/models/omni_message_create_success_response_spec.rb +0 -53
- data/spec/models/omnimessage_spec.rb +0 -65
- data/spec/models/sms_spec.rb +0 -79
- data/spec/models/status_spec.rb +0 -35
- data/spec/models/text_store_spec.rb +0 -35
- data/spec/models/viber_spec.rb +0 -81
- data/spec/models/whats_app_audio_spec.rb +0 -41
- data/spec/models/whats_app_document_spec.rb +0 -47
- data/spec/models/whats_app_image_spec.rb +0 -47
- data/spec/models/whats_app_spec.rb +0 -81
- data/spec/models/whats_app_text_spec.rb +0 -47
@@ -1,53 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::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 = MessenteApi::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(MessenteApi::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
|
@@ -1,41 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::NumberToBlacklist
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'NumberToBlacklist' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = MessenteApi::NumberToBlacklist.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of NumberToBlacklist' do
|
31
|
-
it 'should create an instance of NumberToBlacklist' do
|
32
|
-
expect(@instance).to be_instance_of(MessenteApi::NumberToBlacklist)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "phone_number"' 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
|
@@ -1,53 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::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 = MessenteApi::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(MessenteApi::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
|
@@ -1,65 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::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 = MessenteApi::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(MessenteApi::Omnimessage)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "to"' 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 "messages"' 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 "text_store"' 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 "time_to_send"' 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
|
-
end
|
data/spec/models/sms_spec.rb
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::SMS
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'SMS' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = MessenteApi::SMS.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of SMS' do
|
31
|
-
it 'should create an instance of SMS' do
|
32
|
-
expect(@instance).to be_instance_of(MessenteApi::SMS)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "text"' 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
|
-
describe 'test attribute "autoconvert"' 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('String', ["full", "on", "off"])
|
57
|
-
# validator.allowable_values.each do |value|
|
58
|
-
# expect { @instance.autoconvert = value }.not_to raise_error
|
59
|
-
# end
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
describe 'test attribute "udh"' 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 "channel"' do
|
70
|
-
it 'should work' do
|
71
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["sms"])
|
73
|
-
# validator.allowable_values.each do |value|
|
74
|
-
# expect { @instance.channel = value }.not_to raise_error
|
75
|
-
# end
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
end
|
data/spec/models/status_spec.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::Status
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'Status' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = MessenteApi::Status.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of Status' do
|
31
|
-
it 'should create an instance of Status' do
|
32
|
-
expect(@instance).to be_instance_of(MessenteApi::Status)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
@@ -1,35 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::TextStore
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'TextStore' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = MessenteApi::TextStore.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of TextStore' do
|
31
|
-
it 'should create an instance of TextStore' do
|
32
|
-
expect(@instance).to be_instance_of(MessenteApi::TextStore)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
data/spec/models/viber_spec.rb
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Messente API
|
3
|
-
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0.2
|
7
|
-
Contact: messente@messente.com
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.0.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for MessenteApi::Viber
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'Viber' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = MessenteApi::Viber.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of Viber' do
|
31
|
-
it 'should create an instance of Viber' do
|
32
|
-
expect(@instance).to be_instance_of(MessenteApi::Viber)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
describe 'test attribute "sender"' 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 "validity"' 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 "text"' 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 "image_url"' 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 "button_url"' 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 "button_text"' 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 "channel"' do
|
72
|
-
it 'should work' do
|
73
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["viber"])
|
75
|
-
# validator.allowable_values.each do |value|
|
76
|
-
# expect { @instance.channel = value }.not_to raise_error
|
77
|
-
# end
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
end
|