mimepost 1.0.0
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 +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,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::ApiResponseSingleWebhooks
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseSingleWebhooks' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseSingleWebhooks.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseSingleWebhooks' do
|
|
31
|
+
it 'should create an instance of ApiResponseSingleWebhooks' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseSingleWebhooks)
|
|
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,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::ApiResponse
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponse' do
|
|
31
|
+
it 'should create an instance of ApiResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponse)
|
|
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 "error_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
|
+
end
|
|
@@ -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::ApiResponseStatsDataDatewiseSummary
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseStatsDataDatewiseSummary' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseStatsDataDatewiseSummary.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseStatsDataDatewiseSummary' do
|
|
31
|
+
it 'should create an instance of ApiResponseStatsDataDatewiseSummary' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseStatsDataDatewiseSummary)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "date"' 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,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::ApiResponseStatsDataGraphSummary
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseStatsDataGraphSummary' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseStatsDataGraphSummary.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseStatsDataGraphSummary' do
|
|
31
|
+
it 'should create an instance of ApiResponseStatsDataGraphSummary' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseStatsDataGraphSummary)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "dates"' 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 "status_counts"' 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,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::ApiResponseStatsData
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseStatsData' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseStatsData.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseStatsData' do
|
|
31
|
+
it 'should create an instance of ApiResponseStatsData' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseStatsData)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "total_summary"' 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 "datewise_summary"' 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 "graph_summary"' 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,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::ApiResponseStatsDataTotalSummary
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseStatsDataTotalSummary' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseStatsDataTotalSummary.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseStatsDataTotalSummary' do
|
|
31
|
+
it 'should create an instance of ApiResponseStatsDataTotalSummary' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseStatsDataTotalSummary)
|
|
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
|
+
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::ApiResponseStatsDataTotalSummaryStatus
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseStatsDataTotalSummaryStatus' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseStatsDataTotalSummaryStatus.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseStatsDataTotalSummaryStatus' do
|
|
31
|
+
it 'should create an instance of ApiResponseStatsDataTotalSummaryStatus' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseStatsDataTotalSummaryStatus)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "count"' 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 "perc"' 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,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::ApiResponseStats
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseStats' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseStats.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseStats' do
|
|
31
|
+
it 'should create an instance of ApiResponseStats' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseStats)
|
|
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,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::ApiResponseWebhooksData
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseWebhooksData' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseWebhooksData.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseWebhooksData' do
|
|
31
|
+
it 'should create an instance of ApiResponseWebhooksData' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseWebhooksData)
|
|
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
|
+
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::ApiResponseWebhooks
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'ApiResponseWebhooks' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = Mimepost::ApiResponseWebhooks.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of ApiResponseWebhooks' do
|
|
31
|
+
it 'should create an instance of ApiResponseWebhooks' do
|
|
32
|
+
expect(@instance).to be_instance_of(Mimepost::ApiResponseWebhooks)
|
|
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
|