mimepost 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +144 -0
- data/Rakefile +8 -0
- data/docs/AccountProfile.md +23 -0
- data/docs/AccountProfileResponse.md +10 -0
- data/docs/AccountSettings.md +9 -0
- data/docs/AccountsApi.md +216 -0
- data/docs/ApiResponse.md +10 -0
- data/docs/ApiResponseAllWebhooks.md +10 -0
- data/docs/ApiResponseAllWebhooksData.md +13 -0
- data/docs/ApiResponseDomainsList.md +10 -0
- data/docs/ApiResponseDomainsListData.md +20 -0
- data/docs/ApiResponseEmaillogs.md +10 -0
- data/docs/ApiResponseEmaillogsData.md +12 -0
- data/docs/ApiResponseSingleWebhooks.md +10 -0
- data/docs/ApiResponseStats.md +10 -0
- data/docs/ApiResponseStatsData.md +10 -0
- data/docs/ApiResponseStatsDataDatewiseSummary.md +8 -0
- data/docs/ApiResponseStatsDataGraphSummary.md +9 -0
- data/docs/ApiResponseStatsDataTotalSummary.md +8 -0
- data/docs/ApiResponseStatsDataTotalSummaryStatus.md +9 -0
- data/docs/ApiResponseWebhooks.md +10 -0
- data/docs/ApiResponseWebhooksData.md +8 -0
- data/docs/Domain.md +8 -0
- data/docs/DomainsApi.md +427 -0
- data/docs/Email.md +17 -0
- data/docs/EmailAttachments.md +10 -0
- data/docs/EmailGlobalMergeVars.md +9 -0
- data/docs/EmailMergeVars.md +9 -0
- data/docs/EmailTo.md +9 -0
- data/docs/EmailsApi.md +63 -0
- data/docs/StatsApi.md +130 -0
- data/docs/Webhook.md +11 -0
- data/docs/Webhook1.md +11 -0
- data/docs/WebhooksApi.md +272 -0
- data/example.accounts.rb +22 -0
- data/git_push.sh +55 -0
- data/lib/mimepost.rb +71 -0
- data/lib/mimepost/api/accounts_api.rb +227 -0
- data/lib/mimepost/api/domains_api.rb +429 -0
- data/lib/mimepost/api/emails_api.rb +77 -0
- data/lib/mimepost/api/stats_api.rb +158 -0
- data/lib/mimepost/api/webhooks_api.rb +275 -0
- data/lib/mimepost/api_client.rb +391 -0
- data/lib/mimepost/api_error.rb +38 -0
- data/lib/mimepost/configuration.rb +209 -0
- data/lib/mimepost/models/account_profile.rb +325 -0
- data/lib/mimepost/models/account_profile_response.rb +203 -0
- data/lib/mimepost/models/account_settings.rb +194 -0
- data/lib/mimepost/models/api_response.rb +203 -0
- data/lib/mimepost/models/api_response_all_webhooks.rb +205 -0
- data/lib/mimepost/models/api_response_all_webhooks_data.rb +231 -0
- data/lib/mimepost/models/api_response_domains_list.rb +205 -0
- data/lib/mimepost/models/api_response_domains_list_data.rb +326 -0
- data/lib/mimepost/models/api_response_emaillogs.rb +205 -0
- data/lib/mimepost/models/api_response_emaillogs_data.rb +220 -0
- data/lib/mimepost/models/api_response_single_webhooks.rb +203 -0
- data/lib/mimepost/models/api_response_stats.rb +203 -0
- data/lib/mimepost/models/api_response_stats_data.rb +202 -0
- data/lib/mimepost/models/api_response_stats_data_datewise_summary.rb +184 -0
- data/lib/mimepost/models/api_response_stats_data_graph_summary.rb +197 -0
- data/lib/mimepost/models/api_response_stats_data_total_summary.rb +184 -0
- data/lib/mimepost/models/api_response_stats_data_total_summary_status.rb +193 -0
- data/lib/mimepost/models/api_response_webhooks.rb +203 -0
- data/lib/mimepost/models/api_response_webhooks_data.rb +184 -0
- data/lib/mimepost/models/domain.rb +189 -0
- data/lib/mimepost/models/email.rb +297 -0
- data/lib/mimepost/models/email_attachments.rb +202 -0
- data/lib/mimepost/models/email_global_merge_vars.rb +193 -0
- data/lib/mimepost/models/email_merge_vars.rb +193 -0
- data/lib/mimepost/models/email_to.rb +195 -0
- data/lib/mimepost/models/webhook.rb +223 -0
- data/lib/mimepost/models/webhook_1.rb +223 -0
- data/lib/mimepost/version.rb +15 -0
- data/mimepost.gemspec +46 -0
- data/spec/api/accounts_api_spec.rb +81 -0
- data/spec/api/domains_api_spec.rb +122 -0
- data/spec/api/emails_api_spec.rb +47 -0
- data/spec/api/stats_api_spec.rb +63 -0
- data/spec/api/webhooks_api_spec.rb +90 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_profile_response_spec.rb +53 -0
- data/spec/models/account_profile_spec.rb +131 -0
- data/spec/models/account_settings_spec.rb +47 -0
- data/spec/models/api_response_all_webhooks_data_spec.rb +71 -0
- data/spec/models/api_response_all_webhooks_spec.rb +53 -0
- data/spec/models/api_response_domains_list_data_spec.rb +117 -0
- data/spec/models/api_response_domains_list_spec.rb +53 -0
- data/spec/models/api_response_emaillogs_data_spec.rb +65 -0
- data/spec/models/api_response_emaillogs_spec.rb +53 -0
- data/spec/models/api_response_single_webhooks_spec.rb +53 -0
- data/spec/models/api_response_spec.rb +53 -0
- data/spec/models/api_response_stats_data_datewise_summary_spec.rb +41 -0
- data/spec/models/api_response_stats_data_graph_summary_spec.rb +47 -0
- data/spec/models/api_response_stats_data_spec.rb +53 -0
- data/spec/models/api_response_stats_data_total_summary_spec.rb +41 -0
- data/spec/models/api_response_stats_data_total_summary_status_spec.rb +47 -0
- data/spec/models/api_response_stats_spec.rb +53 -0
- data/spec/models/api_response_webhooks_data_spec.rb +41 -0
- data/spec/models/api_response_webhooks_spec.rb +53 -0
- data/spec/models/domain_spec.rb +41 -0
- data/spec/models/email_attachments_spec.rb +53 -0
- data/spec/models/email_global_merge_vars_spec.rb +47 -0
- data/spec/models/email_merge_vars_spec.rb +47 -0
- data/spec/models/email_spec.rb +95 -0
- data/spec/models/email_to_spec.rb +47 -0
- data/spec/models/webhook_1_spec.rb +59 -0
- data/spec/models/webhook_spec.rb +59 -0
- data/spec/spec_helper.rb +111 -0
- metadata +390 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#mimepost
|
3
|
+
|
4
|
+
#MimePost API for sending email. You can find out more about MimePost at [https://mimepost.com](http://mimepost.com). For this sample, you can use the api key `special-key` to test the authorization filters.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: support@mimepost.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Mimepost::AccountSettings
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'AccountSettings' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::AccountSettings.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of AccountSettings' do
|
31
|
+
it 'should create an instance of AccountSettings' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::AccountSettings)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "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 "value"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#mimepost
|
3
|
+
|
4
|
+
#MimePost API for sending email. You can find out more about MimePost at [https://mimepost.com](http://mimepost.com). For this sample, you can use the api key `special-key` to test the authorization filters.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: support@mimepost.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Mimepost::ApiResponseAllWebhooksData
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseAllWebhooksData' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::ApiResponseAllWebhooksData.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseAllWebhooksData' do
|
31
|
+
it 'should create an instance of ApiResponseAllWebhooksData' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseAllWebhooksData)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "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 "entered"' 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 "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 "active"' 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 "desc"' 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 "events"' 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,53 @@
|
|
1
|
+
=begin
|
2
|
+
#mimepost
|
3
|
+
|
4
|
+
#MimePost API for sending email. You can find out more about MimePost at [https://mimepost.com](http://mimepost.com). For this sample, you can use the api key `special-key` to test the authorization filters.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: support@mimepost.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Mimepost::ApiResponseAllWebhooks
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseAllWebhooks' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::ApiResponseAllWebhooks.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseAllWebhooks' do
|
31
|
+
it 'should create an instance of ApiResponseAllWebhooks' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseAllWebhooks)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "success"' 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 "message"' 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
|
+
end
|
@@ -0,0 +1,117 @@
|
|
1
|
+
=begin
|
2
|
+
#mimepost
|
3
|
+
|
4
|
+
#MimePost API for sending email. You can find out more about MimePost at [https://mimepost.com](http://mimepost.com). For this sample, you can use the api key `special-key` to test the authorization filters.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: support@mimepost.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Mimepost::ApiResponseDomainsListData
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseDomainsListData' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::ApiResponseDomainsListData.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseDomainsListData' do
|
31
|
+
it 'should create an instance of ApiResponseDomainsListData' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseDomainsListData)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "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 "domain"' 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 "selector"' 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 "instance_name"' 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 "spf_verified"' 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 "dkim_verified"' 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 "tracking_verified"' 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 "verified"' 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 "approved"' 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 "status"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["WAITING_APPROVA", "NOT_VERIFIED", "APPROVED"])
|
93
|
+
# validator.allowable_values.each do |value|
|
94
|
+
# expect { @instance.status = value }.not_to raise_error
|
95
|
+
# end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe 'test attribute "status_desc"' 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 "entered"' 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 "active"' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#mimepost
|
3
|
+
|
4
|
+
#MimePost API for sending email. You can find out more about MimePost at [https://mimepost.com](http://mimepost.com). For this sample, you can use the api key `special-key` to test the authorization filters.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: support@mimepost.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Mimepost::ApiResponseDomainsList
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseDomainsList' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::ApiResponseDomainsList.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseDomainsList' do
|
31
|
+
it 'should create an instance of ApiResponseDomainsList' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseDomainsList)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "success"' 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 "message"' 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
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#mimepost
|
3
|
+
|
4
|
+
#MimePost API for sending email. You can find out more about MimePost at [https://mimepost.com](http://mimepost.com). For this sample, you can use the api key `special-key` to test the authorization filters.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: support@mimepost.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Mimepost::ApiResponseEmaillogsData
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseEmaillogsData' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::ApiResponseEmaillogsData.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseEmaillogsData' do
|
31
|
+
it 'should create an instance of ApiResponseEmaillogsData' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseEmaillogsData)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "datetime"' 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 "message_id"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "to_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 "status"' 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 "details"' 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
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#mimepost
|
3
|
+
|
4
|
+
#MimePost API for sending email. You can find out more about MimePost at [https://mimepost.com](http://mimepost.com). For this sample, you can use the api key `special-key` to test the authorization filters.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.1.0
|
7
|
+
Contact: support@mimepost.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.18
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Mimepost::ApiResponseEmaillogs
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseEmaillogs' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::ApiResponseEmaillogs.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseEmaillogs' do
|
31
|
+
it 'should create an instance of ApiResponseEmaillogs' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseEmaillogs)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "success"' 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 "message"' 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
|
+
end
|