mailslurp_client 5.0.0 → 7.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +127 -40
- data/docs/AttachmentControllerApi.md +124 -0
- data/docs/AttachmentMetaData.md +23 -0
- data/docs/BasicAuthOptions.md +10 -0
- data/docs/BulkActionsControllerApi.md +165 -0
- data/docs/BulkSendEmailOptions.md +11 -1
- data/docs/CommonActionsControllerApi.md +167 -0
- data/docs/ContactControllerApi.md +274 -0
- data/docs/ContactDto.md +31 -0
- data/docs/ContactProjection.md +27 -0
- data/docs/CreateContactOptions.md +31 -0
- data/docs/CreateDomainOptions.md +17 -0
- data/docs/CreateGroupOptions.md +19 -0
- data/docs/CreateTemplateOptions.md +19 -0
- data/docs/CreateWebhookOptions.md +13 -2
- data/docs/DomainControllerApi.md +223 -0
- data/docs/DomainDto.md +29 -0
- data/docs/DomainPreview.md +21 -0
- data/docs/Email.md +40 -15
- data/docs/EmailAnalysis.md +18 -5
- data/docs/EmailControllerApi.md +740 -0
- data/docs/EmailPreview.md +24 -6
- data/docs/EmailProjection.md +33 -0
- data/docs/ForwardEmailOptions.md +12 -0
- data/docs/GroupContactsDto.md +19 -0
- data/docs/GroupControllerApi.md +437 -0
- data/docs/GroupDto.md +23 -0
- data/docs/GroupProjection.md +23 -0
- data/docs/HTMLValidationResult.md +21 -0
- data/docs/Inbox.md +26 -4
- data/docs/InboxControllerApi.md +652 -0
- data/docs/InboxProjection.md +29 -0
- data/docs/JsonNode.md +59 -0
- data/docs/MatchOption.md +13 -2
- data/docs/MatchOptions.md +9 -0
- data/docs/PageContactProjection.md +37 -0
- data/docs/PageEmailPreview.md +37 -0
- data/docs/PageEmailProjection.md +37 -0
- data/docs/PageGroupProjection.md +37 -0
- data/docs/PageInboxProjection.md +37 -0
- data/docs/PageTemplateProjection.md +37 -0
- data/docs/PageWebhookProjection.md +37 -0
- data/docs/Pageable.md +27 -0
- data/docs/RawEmailJson.md +17 -0
- data/docs/SendEmailOptions.md +33 -6
- data/docs/SetInboxFavouritedOptions.md +17 -0
- data/docs/Sort.md +21 -0
- data/docs/TemplateControllerApi.md +274 -0
- data/docs/TemplateDto.md +25 -0
- data/docs/TemplateProjection.md +25 -0
- data/docs/TemplateVariable.md +19 -0
- data/docs/UnreadCount.md +17 -0
- data/docs/UpdateGroupContacts.md +17 -0
- data/docs/UpdateInboxOptions.md +25 -0
- data/docs/UploadAttachmentOptions.md +12 -1
- data/docs/ValidationDto.md +19 -0
- data/docs/ValidationMessage.md +19 -0
- data/docs/WaitForConditions.md +29 -0
- data/docs/WaitForControllerApi.md +317 -0
- data/docs/WebhookControllerApi.md +339 -0
- data/docs/WebhookDto.md +33 -0
- data/docs/WebhookProjection.md +27 -0
- data/docs/WebhookTestRequest.md +23 -0
- data/docs/WebhookTestResponse.md +19 -0
- data/docs/WebhookTestResult.md +21 -0
- data/git_push.sh +10 -7
- data/lib/mailslurp_client.rb +56 -7
- data/lib/mailslurp_client/api/attachment_controller_api.rb +157 -0
- data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +203 -0
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +201 -0
- data/lib/mailslurp_client/api/contact_controller_api.rb +323 -0
- data/lib/mailslurp_client/api/domain_controller_api.rb +264 -0
- data/lib/mailslurp_client/api/email_controller_api.rb +852 -0
- data/lib/mailslurp_client/api/group_controller_api.rb +519 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +763 -0
- data/lib/mailslurp_client/api/template_controller_api.rb +323 -0
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +359 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +405 -0
- data/lib/mailslurp_client/api_client.rb +36 -39
- data/lib/mailslurp_client/api_error.rb +23 -4
- data/lib/mailslurp_client/configuration.rb +8 -11
- data/lib/mailslurp_client/models/attachment_meta_data.rb +253 -0
- data/lib/mailslurp_client/models/basic_auth_options.rb +39 -15
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +42 -19
- data/lib/mailslurp_client/models/contact_dto.rb +288 -0
- data/lib/mailslurp_client/models/contact_projection.rb +261 -0
- data/lib/mailslurp_client/models/create_contact_options.rb +277 -0
- data/lib/mailslurp_client/models/create_domain_options.rb +208 -0
- data/lib/mailslurp_client/models/create_group_options.rb +220 -0
- data/lib/mailslurp_client/models/create_template_options.rb +225 -0
- data/lib/mailslurp_client/models/create_webhook_options.rb +54 -29
- data/lib/mailslurp_client/models/domain_dto.rb +296 -0
- data/lib/mailslurp_client/models/domain_preview.rb +240 -0
- data/lib/mailslurp_client/models/email.rb +86 -78
- data/lib/mailslurp_client/models/email_analysis.rb +46 -48
- data/lib/mailslurp_client/models/email_preview.rb +77 -41
- data/lib/mailslurp_client/models/email_projection.rb +306 -0
- data/lib/mailslurp_client/models/forward_email_options.rb +40 -17
- data/lib/mailslurp_client/models/group_contacts_dto.rb +227 -0
- data/lib/mailslurp_client/models/{webhook.rb → group_dto.rb} +60 -54
- data/lib/mailslurp_client/models/group_projection.rb +248 -0
- data/lib/mailslurp_client/models/html_validation_result.rb +243 -0
- data/lib/mailslurp_client/models/inbox.rb +104 -26
- data/lib/mailslurp_client/models/inbox_projection.rb +272 -0
- data/lib/mailslurp_client/models/json_node.rb +429 -0
- data/lib/mailslurp_client/models/match_option.rb +48 -24
- data/lib/mailslurp_client/models/match_options.rb +37 -14
- data/lib/mailslurp_client/models/page_contact_projection.rb +298 -0
- data/lib/mailslurp_client/models/page_email_preview.rb +298 -0
- data/lib/mailslurp_client/models/page_email_projection.rb +298 -0
- data/lib/mailslurp_client/models/page_group_projection.rb +298 -0
- data/lib/mailslurp_client/models/page_inbox_projection.rb +298 -0
- data/lib/mailslurp_client/models/page_template_projection.rb +298 -0
- data/lib/mailslurp_client/models/page_webhook_projection.rb +298 -0
- data/lib/mailslurp_client/models/pageable.rb +251 -0
- data/lib/mailslurp_client/models/raw_email_json.rb +211 -0
- data/lib/mailslurp_client/models/send_email_options.rb +141 -46
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +208 -0
- data/lib/mailslurp_client/models/sort.rb +224 -0
- data/lib/mailslurp_client/models/template_dto.rb +269 -0
- data/lib/mailslurp_client/models/template_projection.rb +269 -0
- data/lib/mailslurp_client/models/template_variable.rb +259 -0
- data/lib/mailslurp_client/models/unread_count.rb +211 -0
- data/lib/mailslurp_client/models/update_group_contacts.rb +213 -0
- data/lib/mailslurp_client/models/update_inbox_options.rb +250 -0
- data/lib/mailslurp_client/models/upload_attachment_options.rb +43 -20
- data/lib/mailslurp_client/models/validation_dto.rb +225 -0
- data/lib/mailslurp_client/models/validation_message.rb +220 -0
- data/lib/mailslurp_client/models/wait_for_conditions.rb +315 -0
- data/lib/mailslurp_client/models/webhook_dto.rb +326 -0
- data/lib/mailslurp_client/models/webhook_projection.rb +277 -0
- data/lib/mailslurp_client/models/webhook_test_request.rb +284 -0
- data/lib/mailslurp_client/models/webhook_test_response.rb +215 -0
- data/lib/mailslurp_client/models/webhook_test_result.rb +235 -0
- data/lib/mailslurp_client/version.rb +5 -5
- data/mailslurp_client.gemspec +4 -10
- data/spec/api/attachment_controller_api_spec.rb +61 -0
- data/spec/api/bulk_actions_controller_api_spec.rb +68 -0
- data/spec/api/common_actions_controller_api_spec.rb +129 -0
- data/spec/api/contact_controller_api_spec.rb +91 -0
- data/spec/api/domain_controller_api_spec.rb +82 -0
- data/spec/api/email_controller_api_spec.rb +162 -0
- data/spec/api/group_controller_api_spec.rb +126 -0
- data/spec/api/inbox_controller_api_spec.rb +172 -0
- data/spec/api/template_controller_api_spec.rb +91 -0
- data/spec/api/wait_for_controller_api_spec.rb +107 -0
- data/spec/api/webhook_controller_api_spec.rb +107 -0
- data/spec/api_client_spec.rb +5 -5
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/attachment_meta_data_spec.rb +59 -0
- data/spec/models/basic_auth_options_spec.rb +4 -4
- data/spec/models/bulk_send_email_options_spec.rb +4 -4
- data/spec/models/contact_dto_spec.rb +83 -0
- data/spec/models/contact_projection_spec.rb +71 -0
- data/spec/models/create_contact_options_spec.rb +83 -0
- data/spec/models/create_domain_options_spec.rb +41 -0
- data/spec/models/create_group_options_spec.rb +47 -0
- data/spec/models/create_template_options_spec.rb +47 -0
- data/spec/models/create_webhook_options_spec.rb +6 -6
- data/spec/models/domain_dto_spec.rb +77 -0
- data/spec/models/domain_preview_spec.rb +53 -0
- data/spec/models/email_analysis_spec.rb +4 -4
- data/spec/models/email_preview_spec.rb +41 -5
- data/spec/models/email_projection_spec.rb +89 -0
- data/spec/models/email_spec.rb +17 -5
- data/spec/models/forward_email_options_spec.rb +4 -4
- data/spec/models/group_contacts_dto_spec.rb +47 -0
- data/spec/models/group_dto_spec.rb +59 -0
- data/spec/models/group_projection_spec.rb +59 -0
- data/spec/models/html_validation_result_spec.rb +53 -0
- data/spec/models/inbox_projection_spec.rb +77 -0
- data/spec/models/inbox_spec.rb +35 -5
- data/spec/models/json_node_spec.rb +171 -0
- data/spec/models/match_option_spec.rb +4 -4
- data/spec/models/match_options_spec.rb +4 -4
- data/spec/models/page_contact_projection_spec.rb +101 -0
- data/spec/models/page_email_preview_spec.rb +101 -0
- data/spec/models/page_email_projection_spec.rb +101 -0
- data/spec/models/page_group_projection_spec.rb +101 -0
- data/spec/models/page_inbox_projection_spec.rb +101 -0
- data/spec/models/page_template_projection_spec.rb +101 -0
- data/spec/models/page_webhook_projection_spec.rb +101 -0
- data/spec/models/pageable_spec.rb +71 -0
- data/spec/models/raw_email_json_spec.rb +41 -0
- data/spec/models/send_email_options_spec.rb +45 -5
- data/spec/models/set_inbox_favourited_options_spec.rb +41 -0
- data/spec/models/sort_spec.rb +53 -0
- data/spec/models/template_dto_spec.rb +65 -0
- data/spec/models/template_projection_spec.rb +65 -0
- data/spec/models/template_variable_spec.rb +51 -0
- data/spec/models/unread_count_spec.rb +41 -0
- data/spec/models/update_group_contacts_spec.rb +41 -0
- data/spec/models/{webhook_spec.rb → update_inbox_options_spec.rb} +14 -20
- data/spec/models/upload_attachment_options_spec.rb +4 -4
- data/spec/models/validation_dto_spec.rb +47 -0
- data/spec/models/validation_message_spec.rb +47 -0
- data/spec/models/wait_for_conditions_spec.rb +85 -0
- data/spec/models/webhook_dto_spec.rb +93 -0
- data/spec/models/webhook_projection_spec.rb +71 -0
- data/spec/models/webhook_test_request_spec.rb +63 -0
- data/spec/models/webhook_test_response_spec.rb +47 -0
- data/spec/models/webhook_test_result_spec.rb +53 -0
- data/spec/spec_helper.rb +4 -4
- metadata +223 -149
- data/Gemfile.lock +0 -79
- data/docs/CommonOperationsApi.md +0 -499
- data/docs/ExtraOperationsApi.md +0 -1021
- data/docs/Webhook.md +0 -13
- data/lib/mailslurp_client/api/common_operations_api.rb +0 -502
- data/lib/mailslurp_client/api/extra_operations_api.rb +0 -1054
- data/spec/api/common_operations_api_spec.rb +0 -95
- data/spec/api/extra_operations_api_spec.rb +0 -231
@@ -0,0 +1,93 @@
|
|
1
|
+
=begin
|
2
|
+
#MailSlurp API
|
3
|
+
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository ## Basic Concepts ### Inboxes Inboxes have real email addresses that can send and receive emails. You can create inboxes with specific email addresses (using custom domains). You can also use randomly assigned MailSlurp addresses as unique, disposable test addresses. See the InboxController or [inbox and email address guide](https://www.mailslurp.com/guides/) for more information. ### Receive Emails You can receive emails in a number of ways. You can fetch emails and attachments directly from an inbox. Or you can use `waitFor` endpoints to hold a connection open until an email is received that matches given criteria (such as subject or body content). You can also use webhooks to have emails from multiple inboxes forwarded to your server via HTTP POST. InboxController methods with `waitFor` in the name have a long timeout period and instruct MailSlurp to wait until an expected email is received. You can set conditions on email counts, subject or body matches, and more. Most receive methods only return an email ID and not the full email (to keep response sizes low). To fetch the full body or attachments for an email use the email's ID with EmailController endpoints. See the InboxController or [receiving emails guide](https://www.mailslurp.com/guides/) for more information. ### Send Emails You can send templated HTML emails in several ways. You must first create an inbox to send an email. An inbox can have a specific address or a randomly assigned one. You can send emails from an inbox using `to`, `cc`, and `bcc` recipient lists or with contacts and contact groups. Emails can contain plain-text or HTML bodies. You can also use email templates that support [moustache](https://mustache.github.io/) template variables. You can send attachments by first posting files to the AttachmentController and then using the returned IDs in the `attachments` field of the send options. See the InboxController or [sending emails guide](https://www.mailslurp.com/guides/) for more information. ### Templates MailSlurp emails support templates. You can create templates in the dashboard or API that contain [moustache](https://mustache.github.io/) style variables: for instance `Hello {{name}}`. Then when sending emails you can pass a map of variables names and values to be used. Additionally, when sending emails with contact groups you can use properties of the contact in your templates like `{{firstName}}` and `{{lastName}}`. > You can do a lot more with MailSlurp so see the included documentation for more information.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 6.5.2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MailSlurpClient::WebhookDto
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WebhookDto' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MailSlurpClient::WebhookDto.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WebhookDto' do
|
31
|
+
it 'should create an instance of WebhookDto' do
|
32
|
+
expect(@instance).to be_instance_of(MailSlurpClient::WebhookDto)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "basic_auth"' 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 "created_at"' 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 "id"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "inbox_id"' 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 "method"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE"])
|
63
|
+
# validator.allowable_values.each do |value|
|
64
|
+
# expect { @instance.method = value }.not_to raise_error
|
65
|
+
# end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "name"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "payload_json_schema"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "updated_at"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe 'test attribute "url"' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
=begin
|
2
|
+
#MailSlurp API
|
3
|
+
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository ## Basic Concepts ### Inboxes Inboxes have real email addresses that can send and receive emails. You can create inboxes with specific email addresses (using custom domains). You can also use randomly assigned MailSlurp addresses as unique, disposable test addresses. See the InboxController or [inbox and email address guide](https://www.mailslurp.com/guides/) for more information. ### Receive Emails You can receive emails in a number of ways. You can fetch emails and attachments directly from an inbox. Or you can use `waitFor` endpoints to hold a connection open until an email is received that matches given criteria (such as subject or body content). You can also use webhooks to have emails from multiple inboxes forwarded to your server via HTTP POST. InboxController methods with `waitFor` in the name have a long timeout period and instruct MailSlurp to wait until an expected email is received. You can set conditions on email counts, subject or body matches, and more. Most receive methods only return an email ID and not the full email (to keep response sizes low). To fetch the full body or attachments for an email use the email's ID with EmailController endpoints. See the InboxController or [receiving emails guide](https://www.mailslurp.com/guides/) for more information. ### Send Emails You can send templated HTML emails in several ways. You must first create an inbox to send an email. An inbox can have a specific address or a randomly assigned one. You can send emails from an inbox using `to`, `cc`, and `bcc` recipient lists or with contacts and contact groups. Emails can contain plain-text or HTML bodies. You can also use email templates that support [moustache](https://mustache.github.io/) template variables. You can send attachments by first posting files to the AttachmentController and then using the returned IDs in the `attachments` field of the send options. See the InboxController or [sending emails guide](https://www.mailslurp.com/guides/) for more information. ### Templates MailSlurp emails support templates. You can create templates in the dashboard or API that contain [moustache](https://mustache.github.io/) style variables: for instance `Hello {{name}}`. Then when sending emails you can pass a map of variables names and values to be used. Additionally, when sending emails with contact groups you can use properties of the contact in your templates like `{{firstName}}` and `{{lastName}}`. > You can do a lot more with MailSlurp so see the included documentation for more information.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 6.5.2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MailSlurpClient::WebhookProjection
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WebhookProjection' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MailSlurpClient::WebhookProjection.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WebhookProjection' do
|
31
|
+
it 'should create an instance of WebhookProjection' do
|
32
|
+
expect(@instance).to be_instance_of(MailSlurpClient::WebhookProjection)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "created_at"' 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 "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 "inbox_id"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "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 "updated_at"' 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 "url"' 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,63 @@
|
|
1
|
+
=begin
|
2
|
+
#MailSlurp API
|
3
|
+
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository ## Basic Concepts ### Inboxes Inboxes have real email addresses that can send and receive emails. You can create inboxes with specific email addresses (using custom domains). You can also use randomly assigned MailSlurp addresses as unique, disposable test addresses. See the InboxController or [inbox and email address guide](https://www.mailslurp.com/guides/) for more information. ### Receive Emails You can receive emails in a number of ways. You can fetch emails and attachments directly from an inbox. Or you can use `waitFor` endpoints to hold a connection open until an email is received that matches given criteria (such as subject or body content). You can also use webhooks to have emails from multiple inboxes forwarded to your server via HTTP POST. InboxController methods with `waitFor` in the name have a long timeout period and instruct MailSlurp to wait until an expected email is received. You can set conditions on email counts, subject or body matches, and more. Most receive methods only return an email ID and not the full email (to keep response sizes low). To fetch the full body or attachments for an email use the email's ID with EmailController endpoints. See the InboxController or [receiving emails guide](https://www.mailslurp.com/guides/) for more information. ### Send Emails You can send templated HTML emails in several ways. You must first create an inbox to send an email. An inbox can have a specific address or a randomly assigned one. You can send emails from an inbox using `to`, `cc`, and `bcc` recipient lists or with contacts and contact groups. Emails can contain plain-text or HTML bodies. You can also use email templates that support [moustache](https://mustache.github.io/) template variables. You can send attachments by first posting files to the AttachmentController and then using the returned IDs in the `attachments` field of the send options. See the InboxController or [sending emails guide](https://www.mailslurp.com/guides/) for more information. ### Templates MailSlurp emails support templates. You can create templates in the dashboard or API that contain [moustache](https://mustache.github.io/) style variables: for instance `Hello {{name}}`. Then when sending emails you can pass a map of variables names and values to be used. Additionally, when sending emails with contact groups you can use properties of the contact in your templates like `{{firstName}}` and `{{lastName}}`. > You can do a lot more with MailSlurp so see the included documentation for more information.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 6.5.2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MailSlurpClient::WebhookTestRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WebhookTestRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MailSlurpClient::WebhookTestRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WebhookTestRequest' do
|
31
|
+
it 'should create an instance of WebhookTestRequest' do
|
32
|
+
expect(@instance).to be_instance_of(MailSlurpClient::WebhookTestRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "headers"' 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 "method"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE"])
|
45
|
+
# validator.allowable_values.each do |value|
|
46
|
+
# expect { @instance.method = value }.not_to raise_error
|
47
|
+
# end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "payload"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "url"' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#MailSlurp API
|
3
|
+
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository ## Basic Concepts ### Inboxes Inboxes have real email addresses that can send and receive emails. You can create inboxes with specific email addresses (using custom domains). You can also use randomly assigned MailSlurp addresses as unique, disposable test addresses. See the InboxController or [inbox and email address guide](https://www.mailslurp.com/guides/) for more information. ### Receive Emails You can receive emails in a number of ways. You can fetch emails and attachments directly from an inbox. Or you can use `waitFor` endpoints to hold a connection open until an email is received that matches given criteria (such as subject or body content). You can also use webhooks to have emails from multiple inboxes forwarded to your server via HTTP POST. InboxController methods with `waitFor` in the name have a long timeout period and instruct MailSlurp to wait until an expected email is received. You can set conditions on email counts, subject or body matches, and more. Most receive methods only return an email ID and not the full email (to keep response sizes low). To fetch the full body or attachments for an email use the email's ID with EmailController endpoints. See the InboxController or [receiving emails guide](https://www.mailslurp.com/guides/) for more information. ### Send Emails You can send templated HTML emails in several ways. You must first create an inbox to send an email. An inbox can have a specific address or a randomly assigned one. You can send emails from an inbox using `to`, `cc`, and `bcc` recipient lists or with contacts and contact groups. Emails can contain plain-text or HTML bodies. You can also use email templates that support [moustache](https://mustache.github.io/) template variables. You can send attachments by first posting files to the AttachmentController and then using the returned IDs in the `attachments` field of the send options. See the InboxController or [sending emails guide](https://www.mailslurp.com/guides/) for more information. ### Templates MailSlurp emails support templates. You can create templates in the dashboard or API that contain [moustache](https://mustache.github.io/) style variables: for instance `Hello {{name}}`. Then when sending emails you can pass a map of variables names and values to be used. Additionally, when sending emails with contact groups you can use properties of the contact in your templates like `{{firstName}}` and `{{lastName}}`. > You can do a lot more with MailSlurp so see the included documentation for more information.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 6.5.2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MailSlurpClient::WebhookTestResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WebhookTestResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MailSlurpClient::WebhookTestResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WebhookTestResponse' do
|
31
|
+
it 'should create an instance of WebhookTestResponse' do
|
32
|
+
expect(@instance).to be_instance_of(MailSlurpClient::WebhookTestResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "message"' 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_code"' 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
|
+
#MailSlurp API
|
3
|
+
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository ## Basic Concepts ### Inboxes Inboxes have real email addresses that can send and receive emails. You can create inboxes with specific email addresses (using custom domains). You can also use randomly assigned MailSlurp addresses as unique, disposable test addresses. See the InboxController or [inbox and email address guide](https://www.mailslurp.com/guides/) for more information. ### Receive Emails You can receive emails in a number of ways. You can fetch emails and attachments directly from an inbox. Or you can use `waitFor` endpoints to hold a connection open until an email is received that matches given criteria (such as subject or body content). You can also use webhooks to have emails from multiple inboxes forwarded to your server via HTTP POST. InboxController methods with `waitFor` in the name have a long timeout period and instruct MailSlurp to wait until an expected email is received. You can set conditions on email counts, subject or body matches, and more. Most receive methods only return an email ID and not the full email (to keep response sizes low). To fetch the full body or attachments for an email use the email's ID with EmailController endpoints. See the InboxController or [receiving emails guide](https://www.mailslurp.com/guides/) for more information. ### Send Emails You can send templated HTML emails in several ways. You must first create an inbox to send an email. An inbox can have a specific address or a randomly assigned one. You can send emails from an inbox using `to`, `cc`, and `bcc` recipient lists or with contacts and contact groups. Emails can contain plain-text or HTML bodies. You can also use email templates that support [moustache](https://mustache.github.io/) template variables. You can send attachments by first posting files to the AttachmentController and then using the returned IDs in the `attachments` field of the send options. See the InboxController or [sending emails guide](https://www.mailslurp.com/guides/) for more information. ### Templates MailSlurp emails support templates. You can create templates in the dashboard or API that contain [moustache](https://mustache.github.io/) style variables: for instance `Hello {{name}}`. Then when sending emails you can pass a map of variables names and values to be used. Additionally, when sending emails with contact groups you can use properties of the contact in your templates like `{{firstName}}` and `{{lastName}}`. > You can do a lot more with MailSlurp so see the included documentation for more information.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 6.5.2
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MailSlurpClient::WebhookTestResult
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WebhookTestResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = MailSlurpClient::WebhookTestResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WebhookTestResult' do
|
31
|
+
it 'should create an instance of WebhookTestResult' do
|
32
|
+
expect(@instance).to be_instance_of(MailSlurpClient::WebhookTestResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "message"' 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 "request"' 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 "response"' 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
|
data/spec/spec_helper.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository ## Basic Concepts ### Inboxes Inboxes have real email addresses that can send and receive emails. You can create inboxes with specific email addresses (using custom domains). You can also use randomly assigned MailSlurp addresses as unique, disposable test addresses. See the InboxController or [inbox and email address guide](https://www.mailslurp.com/guides/) for more information. ### Receive Emails You can receive emails in a number of ways. You can fetch emails and attachments directly from an inbox. Or you can use `waitFor` endpoints to hold a connection open until an email is received that matches given criteria (such as subject or body content). You can also use webhooks to have emails from multiple inboxes forwarded to your server via HTTP POST. InboxController methods with `waitFor` in the name have a long timeout period and instruct MailSlurp to wait until an expected email is received. You can set conditions on email counts, subject or body matches, and more. Most receive methods only return an email ID and not the full email (to keep response sizes low). To fetch the full body or attachments for an email use the email's ID with EmailController endpoints. See the InboxController or [receiving emails guide](https://www.mailslurp.com/guides/) for more information. ### Send Emails You can send templated HTML emails in several ways. You must first create an inbox to send an email. An inbox can have a specific address or a randomly assigned one. You can send emails from an inbox using `to`, `cc`, and `bcc` recipient lists or with contacts and contact groups. Emails can contain plain-text or HTML bodies. You can also use email templates that support [moustache](https://mustache.github.io/) template variables. You can send attachments by first posting files to the AttachmentController and then using the returned IDs in the `attachments` field of the send options. See the InboxController or [sending emails guide](https://www.mailslurp.com/guides/) for more information. ### Templates MailSlurp emails support templates. You can create templates in the dashboard or API that contain [moustache](https://mustache.github.io/) style variables: for instance `Hello {{name}}`. Then when sending emails you can pass a map of variables names and values to be used. Additionally, when sending emails with contact groups you can use properties of the contact in your templates like `{{firstName}}` and `{{lastName}}`. > You can do a lot more with MailSlurp so see the included documentation for more information.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 6.5.2
|
5
7
|
|
6
|
-
OpenAPI spec version: 0.0.1-alpha
|
7
|
-
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailslurp_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MailSlurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -34,162 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.1'
|
40
37
|
- - ">="
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: 2.1.0
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
40
|
- - "~>"
|
48
41
|
- !ruby/object:Gem::Version
|
49
42
|
version: '2.1'
|
50
|
-
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 2.1.0
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: rspec
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.6'
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 3.6.0
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '3.6'
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 3.6.0
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: vcr
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '3.0'
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 3.0.1
|
83
|
-
type: :development
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.0'
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 3.0.1
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: webmock
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '1.24'
|
100
|
-
- - ">="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 1.24.3
|
103
|
-
type: :development
|
43
|
+
type: :runtime
|
104
44
|
prerelease: false
|
105
45
|
version_requirements: !ruby/object:Gem::Requirement
|
106
46
|
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '1.24'
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: 1.24.3
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: autotest
|
115
|
-
requirement: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - "~>"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '4.4'
|
120
47
|
- - ">="
|
121
48
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
123
|
-
type: :development
|
124
|
-
prerelease: false
|
125
|
-
version_requirements: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
49
|
+
version: 2.1.0
|
127
50
|
- - "~>"
|
128
51
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 4.4.6
|
52
|
+
version: '2.1'
|
133
53
|
- !ruby/object:Gem::Dependency
|
134
|
-
name:
|
54
|
+
name: rspec
|
135
55
|
requirement: !ruby/object:Gem::Requirement
|
136
56
|
requirements:
|
137
|
-
- - "~>"
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '4.1'
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 4.1.2
|
143
|
-
type: :development
|
144
|
-
prerelease: false
|
145
|
-
version_requirements: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - "~>"
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '4.1'
|
150
57
|
- - ">="
|
151
58
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: autotest-growl
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
59
|
+
version: 3.6.0
|
157
60
|
- - "~>"
|
158
61
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
160
|
-
- - ">="
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
version: 0.2.16
|
62
|
+
version: '3.6'
|
163
63
|
type: :development
|
164
64
|
prerelease: false
|
165
65
|
version_requirements: !ruby/object:Gem::Requirement
|
166
66
|
requirements:
|
167
|
-
- - "~>"
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '0.2'
|
170
|
-
- - ">="
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: 0.2.16
|
173
|
-
- !ruby/object:Gem::Dependency
|
174
|
-
name: autotest-fsevent
|
175
|
-
requirement: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - "~>"
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '0.2'
|
180
67
|
- - ">="
|
181
68
|
- !ruby/object:Gem::Version
|
182
|
-
version:
|
183
|
-
type: :development
|
184
|
-
prerelease: false
|
185
|
-
version_requirements: !ruby/object:Gem::Requirement
|
186
|
-
requirements:
|
69
|
+
version: 3.6.0
|
187
70
|
- - "~>"
|
188
71
|
- !ruby/object:Gem::Version
|
189
|
-
version: '
|
190
|
-
- - ">="
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 0.2.12
|
72
|
+
version: '3.6'
|
193
73
|
description: Send and receive real emails in Ruby. See https://www.mailslurp.com/developers/
|
194
74
|
for full Ruby documentation.
|
195
75
|
email:
|
@@ -199,64 +79,210 @@ extensions: []
|
|
199
79
|
extra_rdoc_files: []
|
200
80
|
files:
|
201
81
|
- Gemfile
|
202
|
-
- Gemfile.lock
|
203
82
|
- LICENSE
|
204
83
|
- README.md
|
205
84
|
- Rakefile
|
85
|
+
- docs/AttachmentControllerApi.md
|
86
|
+
- docs/AttachmentMetaData.md
|
206
87
|
- docs/BasicAuthOptions.md
|
88
|
+
- docs/BulkActionsControllerApi.md
|
207
89
|
- docs/BulkSendEmailOptions.md
|
208
|
-
- docs/
|
90
|
+
- docs/CommonActionsControllerApi.md
|
91
|
+
- docs/ContactControllerApi.md
|
92
|
+
- docs/ContactDto.md
|
93
|
+
- docs/ContactProjection.md
|
94
|
+
- docs/CreateContactOptions.md
|
95
|
+
- docs/CreateDomainOptions.md
|
96
|
+
- docs/CreateGroupOptions.md
|
97
|
+
- docs/CreateTemplateOptions.md
|
209
98
|
- docs/CreateWebhookOptions.md
|
99
|
+
- docs/DomainControllerApi.md
|
100
|
+
- docs/DomainDto.md
|
101
|
+
- docs/DomainPreview.md
|
210
102
|
- docs/Email.md
|
211
103
|
- docs/EmailAnalysis.md
|
104
|
+
- docs/EmailControllerApi.md
|
212
105
|
- docs/EmailPreview.md
|
213
|
-
- docs/
|
106
|
+
- docs/EmailProjection.md
|
214
107
|
- docs/ForwardEmailOptions.md
|
108
|
+
- docs/GroupContactsDto.md
|
109
|
+
- docs/GroupControllerApi.md
|
110
|
+
- docs/GroupDto.md
|
111
|
+
- docs/GroupProjection.md
|
112
|
+
- docs/HTMLValidationResult.md
|
215
113
|
- docs/Inbox.md
|
114
|
+
- docs/InboxControllerApi.md
|
115
|
+
- docs/InboxProjection.md
|
116
|
+
- docs/JsonNode.md
|
216
117
|
- docs/MatchOption.md
|
217
118
|
- docs/MatchOptions.md
|
119
|
+
- docs/PageContactProjection.md
|
120
|
+
- docs/PageEmailPreview.md
|
121
|
+
- docs/PageEmailProjection.md
|
122
|
+
- docs/PageGroupProjection.md
|
123
|
+
- docs/PageInboxProjection.md
|
124
|
+
- docs/PageTemplateProjection.md
|
125
|
+
- docs/PageWebhookProjection.md
|
126
|
+
- docs/Pageable.md
|
127
|
+
- docs/RawEmailJson.md
|
218
128
|
- docs/SendEmailOptions.md
|
129
|
+
- docs/SetInboxFavouritedOptions.md
|
130
|
+
- docs/Sort.md
|
131
|
+
- docs/TemplateControllerApi.md
|
132
|
+
- docs/TemplateDto.md
|
133
|
+
- docs/TemplateProjection.md
|
134
|
+
- docs/TemplateVariable.md
|
135
|
+
- docs/UnreadCount.md
|
136
|
+
- docs/UpdateGroupContacts.md
|
137
|
+
- docs/UpdateInboxOptions.md
|
219
138
|
- docs/UploadAttachmentOptions.md
|
220
|
-
- docs/
|
139
|
+
- docs/ValidationDto.md
|
140
|
+
- docs/ValidationMessage.md
|
141
|
+
- docs/WaitForConditions.md
|
142
|
+
- docs/WaitForControllerApi.md
|
143
|
+
- docs/WebhookControllerApi.md
|
144
|
+
- docs/WebhookDto.md
|
145
|
+
- docs/WebhookProjection.md
|
146
|
+
- docs/WebhookTestRequest.md
|
147
|
+
- docs/WebhookTestResponse.md
|
148
|
+
- docs/WebhookTestResult.md
|
221
149
|
- git_push.sh
|
222
150
|
- lib/mailslurp_client.rb
|
223
|
-
- lib/mailslurp_client/api/
|
224
|
-
- lib/mailslurp_client/api/
|
151
|
+
- lib/mailslurp_client/api/attachment_controller_api.rb
|
152
|
+
- lib/mailslurp_client/api/bulk_actions_controller_api.rb
|
153
|
+
- lib/mailslurp_client/api/common_actions_controller_api.rb
|
154
|
+
- lib/mailslurp_client/api/contact_controller_api.rb
|
155
|
+
- lib/mailslurp_client/api/domain_controller_api.rb
|
156
|
+
- lib/mailslurp_client/api/email_controller_api.rb
|
157
|
+
- lib/mailslurp_client/api/group_controller_api.rb
|
158
|
+
- lib/mailslurp_client/api/inbox_controller_api.rb
|
159
|
+
- lib/mailslurp_client/api/template_controller_api.rb
|
160
|
+
- lib/mailslurp_client/api/wait_for_controller_api.rb
|
161
|
+
- lib/mailslurp_client/api/webhook_controller_api.rb
|
225
162
|
- lib/mailslurp_client/api_client.rb
|
226
163
|
- lib/mailslurp_client/api_error.rb
|
227
164
|
- lib/mailslurp_client/configuration.rb
|
165
|
+
- lib/mailslurp_client/models/attachment_meta_data.rb
|
228
166
|
- lib/mailslurp_client/models/basic_auth_options.rb
|
229
167
|
- lib/mailslurp_client/models/bulk_send_email_options.rb
|
168
|
+
- lib/mailslurp_client/models/contact_dto.rb
|
169
|
+
- lib/mailslurp_client/models/contact_projection.rb
|
170
|
+
- lib/mailslurp_client/models/create_contact_options.rb
|
171
|
+
- lib/mailslurp_client/models/create_domain_options.rb
|
172
|
+
- lib/mailslurp_client/models/create_group_options.rb
|
173
|
+
- lib/mailslurp_client/models/create_template_options.rb
|
230
174
|
- lib/mailslurp_client/models/create_webhook_options.rb
|
175
|
+
- lib/mailslurp_client/models/domain_dto.rb
|
176
|
+
- lib/mailslurp_client/models/domain_preview.rb
|
231
177
|
- lib/mailslurp_client/models/email.rb
|
232
178
|
- lib/mailslurp_client/models/email_analysis.rb
|
233
179
|
- lib/mailslurp_client/models/email_preview.rb
|
180
|
+
- lib/mailslurp_client/models/email_projection.rb
|
234
181
|
- lib/mailslurp_client/models/forward_email_options.rb
|
182
|
+
- lib/mailslurp_client/models/group_contacts_dto.rb
|
183
|
+
- lib/mailslurp_client/models/group_dto.rb
|
184
|
+
- lib/mailslurp_client/models/group_projection.rb
|
185
|
+
- lib/mailslurp_client/models/html_validation_result.rb
|
235
186
|
- lib/mailslurp_client/models/inbox.rb
|
187
|
+
- lib/mailslurp_client/models/inbox_projection.rb
|
188
|
+
- lib/mailslurp_client/models/json_node.rb
|
236
189
|
- lib/mailslurp_client/models/match_option.rb
|
237
190
|
- lib/mailslurp_client/models/match_options.rb
|
191
|
+
- lib/mailslurp_client/models/page_contact_projection.rb
|
192
|
+
- lib/mailslurp_client/models/page_email_preview.rb
|
193
|
+
- lib/mailslurp_client/models/page_email_projection.rb
|
194
|
+
- lib/mailslurp_client/models/page_group_projection.rb
|
195
|
+
- lib/mailslurp_client/models/page_inbox_projection.rb
|
196
|
+
- lib/mailslurp_client/models/page_template_projection.rb
|
197
|
+
- lib/mailslurp_client/models/page_webhook_projection.rb
|
198
|
+
- lib/mailslurp_client/models/pageable.rb
|
199
|
+
- lib/mailslurp_client/models/raw_email_json.rb
|
238
200
|
- lib/mailslurp_client/models/send_email_options.rb
|
201
|
+
- lib/mailslurp_client/models/set_inbox_favourited_options.rb
|
202
|
+
- lib/mailslurp_client/models/sort.rb
|
203
|
+
- lib/mailslurp_client/models/template_dto.rb
|
204
|
+
- lib/mailslurp_client/models/template_projection.rb
|
205
|
+
- lib/mailslurp_client/models/template_variable.rb
|
206
|
+
- lib/mailslurp_client/models/unread_count.rb
|
207
|
+
- lib/mailslurp_client/models/update_group_contacts.rb
|
208
|
+
- lib/mailslurp_client/models/update_inbox_options.rb
|
239
209
|
- lib/mailslurp_client/models/upload_attachment_options.rb
|
240
|
-
- lib/mailslurp_client/models/
|
210
|
+
- lib/mailslurp_client/models/validation_dto.rb
|
211
|
+
- lib/mailslurp_client/models/validation_message.rb
|
212
|
+
- lib/mailslurp_client/models/wait_for_conditions.rb
|
213
|
+
- lib/mailslurp_client/models/webhook_dto.rb
|
214
|
+
- lib/mailslurp_client/models/webhook_projection.rb
|
215
|
+
- lib/mailslurp_client/models/webhook_test_request.rb
|
216
|
+
- lib/mailslurp_client/models/webhook_test_response.rb
|
217
|
+
- lib/mailslurp_client/models/webhook_test_result.rb
|
241
218
|
- lib/mailslurp_client/version.rb
|
242
219
|
- mailslurp_client.gemspec
|
243
|
-
- spec/api/
|
244
|
-
- spec/api/
|
220
|
+
- spec/api/attachment_controller_api_spec.rb
|
221
|
+
- spec/api/bulk_actions_controller_api_spec.rb
|
222
|
+
- spec/api/common_actions_controller_api_spec.rb
|
223
|
+
- spec/api/contact_controller_api_spec.rb
|
224
|
+
- spec/api/domain_controller_api_spec.rb
|
225
|
+
- spec/api/email_controller_api_spec.rb
|
226
|
+
- spec/api/group_controller_api_spec.rb
|
227
|
+
- spec/api/inbox_controller_api_spec.rb
|
228
|
+
- spec/api/template_controller_api_spec.rb
|
229
|
+
- spec/api/wait_for_controller_api_spec.rb
|
230
|
+
- spec/api/webhook_controller_api_spec.rb
|
245
231
|
- spec/api_client_spec.rb
|
246
232
|
- spec/configuration_spec.rb
|
233
|
+
- spec/models/attachment_meta_data_spec.rb
|
247
234
|
- spec/models/basic_auth_options_spec.rb
|
248
235
|
- spec/models/bulk_send_email_options_spec.rb
|
236
|
+
- spec/models/contact_dto_spec.rb
|
237
|
+
- spec/models/contact_projection_spec.rb
|
238
|
+
- spec/models/create_contact_options_spec.rb
|
239
|
+
- spec/models/create_domain_options_spec.rb
|
240
|
+
- spec/models/create_group_options_spec.rb
|
241
|
+
- spec/models/create_template_options_spec.rb
|
249
242
|
- spec/models/create_webhook_options_spec.rb
|
243
|
+
- spec/models/domain_dto_spec.rb
|
244
|
+
- spec/models/domain_preview_spec.rb
|
250
245
|
- spec/models/email_analysis_spec.rb
|
251
246
|
- spec/models/email_preview_spec.rb
|
247
|
+
- spec/models/email_projection_spec.rb
|
252
248
|
- spec/models/email_spec.rb
|
253
249
|
- spec/models/forward_email_options_spec.rb
|
250
|
+
- spec/models/group_contacts_dto_spec.rb
|
251
|
+
- spec/models/group_dto_spec.rb
|
252
|
+
- spec/models/group_projection_spec.rb
|
253
|
+
- spec/models/html_validation_result_spec.rb
|
254
|
+
- spec/models/inbox_projection_spec.rb
|
254
255
|
- spec/models/inbox_spec.rb
|
256
|
+
- spec/models/json_node_spec.rb
|
255
257
|
- spec/models/match_option_spec.rb
|
256
258
|
- spec/models/match_options_spec.rb
|
259
|
+
- spec/models/page_contact_projection_spec.rb
|
260
|
+
- spec/models/page_email_preview_spec.rb
|
261
|
+
- spec/models/page_email_projection_spec.rb
|
262
|
+
- spec/models/page_group_projection_spec.rb
|
263
|
+
- spec/models/page_inbox_projection_spec.rb
|
264
|
+
- spec/models/page_template_projection_spec.rb
|
265
|
+
- spec/models/page_webhook_projection_spec.rb
|
266
|
+
- spec/models/pageable_spec.rb
|
267
|
+
- spec/models/raw_email_json_spec.rb
|
257
268
|
- spec/models/send_email_options_spec.rb
|
269
|
+
- spec/models/set_inbox_favourited_options_spec.rb
|
270
|
+
- spec/models/sort_spec.rb
|
271
|
+
- spec/models/template_dto_spec.rb
|
272
|
+
- spec/models/template_projection_spec.rb
|
273
|
+
- spec/models/template_variable_spec.rb
|
274
|
+
- spec/models/unread_count_spec.rb
|
275
|
+
- spec/models/update_group_contacts_spec.rb
|
276
|
+
- spec/models/update_inbox_options_spec.rb
|
258
277
|
- spec/models/upload_attachment_options_spec.rb
|
259
|
-
- spec/models/
|
278
|
+
- spec/models/validation_dto_spec.rb
|
279
|
+
- spec/models/validation_message_spec.rb
|
280
|
+
- spec/models/wait_for_conditions_spec.rb
|
281
|
+
- spec/models/webhook_dto_spec.rb
|
282
|
+
- spec/models/webhook_projection_spec.rb
|
283
|
+
- spec/models/webhook_test_request_spec.rb
|
284
|
+
- spec/models/webhook_test_response_spec.rb
|
285
|
+
- spec/models/webhook_test_result_spec.rb
|
260
286
|
- spec/spec_helper.rb
|
261
287
|
homepage: https://github.com/mailslurp/mailslurp-client-ruby
|
262
288
|
licenses:
|
@@ -277,27 +303,75 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
277
303
|
- !ruby/object:Gem::Version
|
278
304
|
version: '0'
|
279
305
|
requirements: []
|
280
|
-
|
281
|
-
rubygems_version: 2.7.6
|
306
|
+
rubygems_version: 3.0.3
|
282
307
|
signing_key:
|
283
308
|
specification_version: 4
|
284
309
|
summary: Official MailSlurp API Client
|
285
310
|
test_files:
|
286
|
-
- spec/api/
|
287
|
-
- spec/api/
|
311
|
+
- spec/api/webhook_controller_api_spec.rb
|
312
|
+
- spec/api/domain_controller_api_spec.rb
|
313
|
+
- spec/api/attachment_controller_api_spec.rb
|
314
|
+
- spec/api/contact_controller_api_spec.rb
|
315
|
+
- spec/api/inbox_controller_api_spec.rb
|
316
|
+
- spec/api/wait_for_controller_api_spec.rb
|
317
|
+
- spec/api/group_controller_api_spec.rb
|
318
|
+
- spec/api/template_controller_api_spec.rb
|
319
|
+
- spec/api/common_actions_controller_api_spec.rb
|
320
|
+
- spec/api/email_controller_api_spec.rb
|
321
|
+
- spec/api/bulk_actions_controller_api_spec.rb
|
288
322
|
- spec/api_client_spec.rb
|
289
323
|
- spec/configuration_spec.rb
|
290
|
-
- spec/models/
|
324
|
+
- spec/models/bulk_send_email_options_spec.rb
|
325
|
+
- spec/models/contact_dto_spec.rb
|
326
|
+
- spec/models/create_template_options_spec.rb
|
327
|
+
- spec/models/create_domain_options_spec.rb
|
328
|
+
- spec/models/group_dto_spec.rb
|
329
|
+
- spec/models/webhook_dto_spec.rb
|
330
|
+
- spec/models/unread_count_spec.rb
|
331
|
+
- spec/models/page_email_preview_spec.rb
|
332
|
+
- spec/models/create_group_options_spec.rb
|
333
|
+
- spec/models/create_contact_options_spec.rb
|
291
334
|
- spec/models/send_email_options_spec.rb
|
335
|
+
- spec/models/template_projection_spec.rb
|
336
|
+
- spec/models/update_group_contacts_spec.rb
|
337
|
+
- spec/models/group_contacts_dto_spec.rb
|
338
|
+
- spec/models/set_inbox_favourited_options_spec.rb
|
292
339
|
- spec/models/match_option_spec.rb
|
340
|
+
- spec/models/page_webhook_projection_spec.rb
|
341
|
+
- spec/models/html_validation_result_spec.rb
|
342
|
+
- spec/models/webhook_test_result_spec.rb
|
343
|
+
- spec/models/validation_dto_spec.rb
|
344
|
+
- spec/models/webhook_test_response_spec.rb
|
345
|
+
- spec/models/forward_email_options_spec.rb
|
346
|
+
- spec/models/validation_message_spec.rb
|
347
|
+
- spec/models/webhook_projection_spec.rb
|
348
|
+
- spec/models/match_options_spec.rb
|
349
|
+
- spec/models/webhook_test_request_spec.rb
|
350
|
+
- spec/models/template_dto_spec.rb
|
293
351
|
- spec/models/email_preview_spec.rb
|
352
|
+
- spec/models/page_group_projection_spec.rb
|
353
|
+
- spec/models/page_email_projection_spec.rb
|
354
|
+
- spec/models/page_inbox_projection_spec.rb
|
355
|
+
- spec/models/email_projection_spec.rb
|
356
|
+
- spec/models/raw_email_json_spec.rb
|
294
357
|
- spec/models/upload_attachment_options_spec.rb
|
295
358
|
- spec/models/basic_auth_options_spec.rb
|
296
359
|
- spec/models/email_analysis_spec.rb
|
297
|
-
- spec/models/match_options_spec.rb
|
298
|
-
- spec/models/email_spec.rb
|
299
360
|
- spec/models/create_webhook_options_spec.rb
|
300
|
-
- spec/models/webhook_spec.rb
|
301
|
-
- spec/models/bulk_send_email_options_spec.rb
|
302
361
|
- spec/models/inbox_spec.rb
|
362
|
+
- spec/models/domain_dto_spec.rb
|
363
|
+
- spec/models/json_node_spec.rb
|
364
|
+
- spec/models/attachment_meta_data_spec.rb
|
365
|
+
- spec/models/contact_projection_spec.rb
|
366
|
+
- spec/models/group_projection_spec.rb
|
367
|
+
- spec/models/inbox_projection_spec.rb
|
368
|
+
- spec/models/update_inbox_options_spec.rb
|
369
|
+
- spec/models/pageable_spec.rb
|
370
|
+
- spec/models/page_contact_projection_spec.rb
|
371
|
+
- spec/models/sort_spec.rb
|
372
|
+
- spec/models/page_template_projection_spec.rb
|
373
|
+
- spec/models/domain_preview_spec.rb
|
374
|
+
- spec/models/wait_for_conditions_spec.rb
|
375
|
+
- spec/models/template_variable_spec.rb
|
376
|
+
- spec/models/email_spec.rb
|
303
377
|
- spec/spec_helper.rb
|