mailmock 1.1.1.pre.34026500447
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 +9 -0
- data/README.md +111 -0
- data/Rakefile +10 -0
- data/docs/EmailApi.md +202 -0
- data/docs/EmailCreate200Response.md +20 -0
- data/docs/EmailCreateRequest.md +20 -0
- data/docs/EmailList200ResponseInner.md +26 -0
- data/docs/EmailListDefaultResponse.md +22 -0
- data/docs/EmailListDefaultResponseIssuesInner.md +18 -0
- data/docs/EmailRead200Response.md +36 -0
- data/docs/EmailRead200ResponseHeadersInner.md +20 -0
- data/docs/EmailReadRequest.md +20 -0
- data/docs/SendApi.md +70 -0
- data/docs/SendAws200Response.md +24 -0
- data/docs/SendAwsRequest.md +24 -0
- data/docs/SendAwsRequestMail.md +30 -0
- data/docs/SendAwsRequestMailCommonHeaders.md +28 -0
- data/docs/SendAwsRequestReceipt.md +34 -0
- data/docs/SendAwsRequestReceiptAction.md +22 -0
- data/docs/SendAwsRequestReceiptSpamVerdict.md +18 -0
- data/git_push.sh +57 -0
- data/lib/mailmock/api/email_api.rb +222 -0
- data/lib/mailmock/api/send_api.rb +86 -0
- data/lib/mailmock/api_client.rb +397 -0
- data/lib/mailmock/api_error.rb +58 -0
- data/lib/mailmock/api_model_base.rb +88 -0
- data/lib/mailmock/configuration.rb +308 -0
- data/lib/mailmock/models/email_create200_response.rb +190 -0
- data/lib/mailmock/models/email_create_request.rb +190 -0
- data/lib/mailmock/models/email_list200_response_inner.rb +292 -0
- data/lib/mailmock/models/email_list_default_response.rb +201 -0
- data/lib/mailmock/models/email_list_default_response_issues_inner.rb +164 -0
- data/lib/mailmock/models/email_read200_response.rb +370 -0
- data/lib/mailmock/models/email_read200_response_headers_inner.rb +190 -0
- data/lib/mailmock/models/email_read_request.rb +175 -0
- data/lib/mailmock/models/send_aws200_response.rb +242 -0
- data/lib/mailmock/models/send_aws_request.rb +242 -0
- data/lib/mailmock/models/send_aws_request_mail.rb +324 -0
- data/lib/mailmock/models/send_aws_request_mail_common_headers.rb +298 -0
- data/lib/mailmock/models/send_aws_request_receipt.rb +374 -0
- data/lib/mailmock/models/send_aws_request_receipt_action.rb +216 -0
- data/lib/mailmock/models/send_aws_request_receipt_spam_verdict.rb +164 -0
- data/lib/mailmock/version.rb +15 -0
- data/lib/mailmock.rb +57 -0
- data/mailmock.gemspec +39 -0
- data/spec/api/email_api_spec.rb +70 -0
- data/spec/api/send_api_spec.rb +45 -0
- data/spec/api_client_spec.rb +228 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/email_create200_response_spec.rb +40 -0
- data/spec/models/email_create_request_spec.rb +40 -0
- data/spec/models/email_list200_response_inner_spec.rb +62 -0
- data/spec/models/email_list_default_response_issues_inner_spec.rb +34 -0
- data/spec/models/email_list_default_response_spec.rb +46 -0
- data/spec/models/email_read200_response_headers_inner_spec.rb +40 -0
- data/spec/models/email_read200_response_spec.rb +88 -0
- data/spec/models/email_read_request_spec.rb +40 -0
- data/spec/models/send_aws200_response_spec.rb +52 -0
- data/spec/models/send_aws_request_mail_common_headers_spec.rb +64 -0
- data/spec/models/send_aws_request_mail_spec.rb +70 -0
- data/spec/models/send_aws_request_receipt_action_spec.rb +46 -0
- data/spec/models/send_aws_request_receipt_spam_verdict_spec.rb +34 -0
- data/spec/models/send_aws_request_receipt_spec.rb +82 -0
- data/spec/models/send_aws_request_spec.rb +52 -0
- data/spec/spec_helper.rb +111 -0
- metadata +168 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailCreate200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailCreate200Response do
|
|
21
|
+
let(:instance) { Mailmock::EmailCreate200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailCreate200Response' do
|
|
24
|
+
it 'should create an instance of EmailCreate200Response' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailCreate200Response)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "mailbox"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "email"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailCreateRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailCreateRequest do
|
|
21
|
+
let(:instance) { Mailmock::EmailCreateRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailCreateRequest' do
|
|
24
|
+
it 'should create an instance of EmailCreateRequest' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailCreateRequest)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "user"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "provider"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailList200ResponseInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailList200ResponseInner do
|
|
21
|
+
let(:instance) { Mailmock::EmailList200ResponseInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailList200ResponseInner' do
|
|
24
|
+
it 'should create an instance of EmailList200ResponseInner' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailList200ResponseInner)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "user"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "mailbox"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "message_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "received"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "unread"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["true", "false", "*"])
|
|
56
|
+
# validator.allowable_values.each do |value|
|
|
57
|
+
# expect { instance.unread = value }.not_to raise_error
|
|
58
|
+
# end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailListDefaultResponseIssuesInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailListDefaultResponseIssuesInner do
|
|
21
|
+
let(:instance) { Mailmock::EmailListDefaultResponseIssuesInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailListDefaultResponseIssuesInner' do
|
|
24
|
+
it 'should create an instance of EmailListDefaultResponseIssuesInner' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailListDefaultResponseIssuesInner)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "message"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailListDefaultResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailListDefaultResponse do
|
|
21
|
+
let(:instance) { Mailmock::EmailListDefaultResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailListDefaultResponse' do
|
|
24
|
+
it 'should create an instance of EmailListDefaultResponse' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailListDefaultResponse)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "message"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "code"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "issues"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailRead200ResponseHeadersInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailRead200ResponseHeadersInner do
|
|
21
|
+
let(:instance) { Mailmock::EmailRead200ResponseHeadersInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailRead200ResponseHeadersInner' do
|
|
24
|
+
it 'should create an instance of EmailRead200ResponseHeadersInner' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailRead200ResponseHeadersInner)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "name"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "value"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailRead200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailRead200Response do
|
|
21
|
+
let(:instance) { Mailmock::EmailRead200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailRead200Response' do
|
|
24
|
+
it 'should create an instance of EmailRead200Response' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailRead200Response)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "from"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "to"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "subject"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "headers"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "text"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "html"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "timestamp"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "unread"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "ttl"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "error"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::EmailReadRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::EmailReadRequest do
|
|
21
|
+
let(:instance) { Mailmock::EmailReadRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EmailReadRequest' do
|
|
24
|
+
it 'should create an instance of EmailReadRequest' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::EmailReadRequest)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "message_id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "mark_as_read"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::SendAws200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::SendAws200Response do
|
|
21
|
+
let(:instance) { Mailmock::SendAws200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SendAws200Response' do
|
|
24
|
+
it 'should create an instance of SendAws200Response' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::SendAws200Response)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "user"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "mailbox"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "message_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "ttl"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::SendAwsRequestMailCommonHeaders
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::SendAwsRequestMailCommonHeaders do
|
|
21
|
+
let(:instance) { Mailmock::SendAwsRequestMailCommonHeaders.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SendAwsRequestMailCommonHeaders' do
|
|
24
|
+
it 'should create an instance of SendAwsRequestMailCommonHeaders' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::SendAwsRequestMailCommonHeaders)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "return_path"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "from"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "date"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "to"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "message_id"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "subject"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
end
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::SendAwsRequestMail
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::SendAwsRequestMail do
|
|
21
|
+
let(:instance) { Mailmock::SendAwsRequestMail.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SendAwsRequestMail' do
|
|
24
|
+
it 'should create an instance of SendAwsRequestMail' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::SendAwsRequestMail)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "timestamp"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "source"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "message_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "destination"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "headers_truncated"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "headers"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "common_headers"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::SendAwsRequestReceiptAction
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::SendAwsRequestReceiptAction do
|
|
21
|
+
let(:instance) { Mailmock::SendAwsRequestReceiptAction.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SendAwsRequestReceiptAction' do
|
|
24
|
+
it 'should create an instance of SendAwsRequestReceiptAction' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::SendAwsRequestReceiptAction)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "type"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "topic_arn"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "encoding"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Mailmock API
|
|
3
|
+
|
|
4
|
+
#Mailmock API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 7.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Mailmock::SendAwsRequestReceiptSpamVerdict
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Mailmock::SendAwsRequestReceiptSpamVerdict do
|
|
21
|
+
let(:instance) { Mailmock::SendAwsRequestReceiptSpamVerdict.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SendAwsRequestReceiptSpamVerdict' do
|
|
24
|
+
it 'should create an instance of SendAwsRequestReceiptSpamVerdict' do
|
|
25
|
+
expect(instance).to be_instance_of(Mailmock::SendAwsRequestReceiptSpamVerdict)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "status"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
end
|