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,41 @@
|
|
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::Domain
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Domain' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::Domain.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Domain' do
|
31
|
+
it 'should create an instance of Domain' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::Domain)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "domain"' 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
|
+
#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::EmailAttachments
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'EmailAttachments' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::EmailAttachments.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of EmailAttachments' do
|
31
|
+
it 'should create an instance of EmailAttachments' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::EmailAttachments)
|
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 "type"' 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 "content"' 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,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::EmailGlobalMergeVars
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'EmailGlobalMergeVars' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::EmailGlobalMergeVars.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of EmailGlobalMergeVars' do
|
31
|
+
it 'should create an instance of EmailGlobalMergeVars' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::EmailGlobalMergeVars)
|
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,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::EmailMergeVars
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'EmailMergeVars' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::EmailMergeVars.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of EmailMergeVars' do
|
31
|
+
it 'should create an instance of EmailMergeVars' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::EmailMergeVars)
|
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,95 @@
|
|
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::Email
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Email' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::Email.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Email' do
|
31
|
+
it 'should create an instance of Email' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::Email)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "html"' 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 "subject"' 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 "from_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 "from_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 "global_merge_vars"' 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 "to"' 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 "cc"' 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 "bcc"' 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 "attachments"' 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 "vars"' 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
|
+
end
|
@@ -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::EmailTo
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'EmailTo' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::EmailTo.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of EmailTo' do
|
31
|
+
it 'should create an instance of EmailTo' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::EmailTo)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "email"' 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 "merge_vars"' 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,59 @@
|
|
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::Webhook1
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Webhook1' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::Webhook1.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Webhook1' do
|
31
|
+
it 'should create an instance of Webhook1' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::Webhook1)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "desc"' 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 "url"' 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 "events"' 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
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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::Webhook
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Webhook' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Mimepost::Webhook.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Webhook' do
|
31
|
+
it 'should create an instance of Webhook' do
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::Webhook)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "desc"' 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 "url"' 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 "events"' 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
|
+
end
|