=begin #MailSlurp API #For documentation see [developer guide](https://www.mailslurp.com/developers). [Create an account](https://app.mailslurp.com) in the MailSlurp Dashboard to [view your API Key](https://app). For all bugs, feature requests, or help please [see support](https://www.mailslurp.com/support/). OpenAPI spec version: 0.0.1-alpha Contact: contact@mailslurp.dev Generated by: https://openapi-generator.tech OpenAPI Generator version: 3.3.4 =end require 'spec_helper' require 'json' # Unit tests for MailSlurpClient::ExtraOperationsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ExtraOperationsApi' do before do # run before each test @instance = MailSlurpClient::ExtraOperationsApi.new end after do # run after each test end describe 'test an instance of ExtraOperationsApi' do it 'should create an instance of ExtraOperationsApi' do expect(@instance).to be_instance_of(MailSlurpClient::ExtraOperationsApi) end end # unit tests for bulk_create_inboxes # Bulk create Inboxes (email addresses) # Enterprise Plan Required # @param count Number of inboxes to be created in bulk # @param [Hash] opts the optional parameters # @return [Array] describe 'bulk_create_inboxes test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for bulk_delete_inboxes # Bulk Delete Inboxes # Enterprise Plan Required # @param request_body ids # @param [Hash] opts the optional parameters # @return [nil] describe 'bulk_delete_inboxes test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for bulk_send_emails # Bulk Send Emails # Enterprise Plan Required # @param bulk_send_email_options bulkSendEmailOptions # @param [Hash] opts the optional parameters # @return [nil] describe 'bulk_send_emails test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create_inbox # Create an Inbox (email address) # Create a new inbox and ephemeral email address to send and receive from. This is a necessary step before sending or receiving emails. The response contains the inbox's ID and its associated email address. It is recommended that you create a new inbox during each test method so that it is unique and empty # @param [Hash] opts the optional parameters # @return [Inbox] describe 'create_inbox test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for create_webhook # Attach a WebHook URL to an inbox # Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint. # @param inbox_id inboxId # @param create_webhook_options webhookOptions # @param [Hash] opts the optional parameters # @return [Webhook] describe 'create_webhook test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete_email # Delete Email # Deletes an email and removes it from the inbox # @param email_id emailId # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_email test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete_inbox # Delete Inbox / Email Address # Permanently delete an inbox and associated email address # @param inbox_id inboxId # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_inbox test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete_webhook # Delete and disable a WebHook for an Inbox # @param inbox_id inboxId # @param webhook_id webhookId # @param [Hash] opts the optional parameters # @return [nil] describe 'delete_webhook test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for download_attachment # Get email attachment # Returns the specified attachment for a given email as a byte stream (file download). Get the attachmentId from the email response. Requires enterprise account. # @param attachment_id attachmentId # @param email_id emailId # @param [Hash] opts the optional parameters # @return [nil] describe 'download_attachment test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_email # Get Email Content # Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawMessage endpoint # @param email_id emailId # @param [Hash] opts the optional parameters # @return [Email] describe 'get_email test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_emails # List Emails in an Inbox / EmailAddress # List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached # @param inbox_id Id of inbox that emails belongs to # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Limit the result set, ordered by descending received date time # @option opts [Integer] :min_count Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached. # @option opts [Integer] :retry_timeout Maximum milliseconds to spend retrying inbox database until minCount emails are returned # @option opts [DateTime] :since Exclude emails received before this ISO 8601 date time # @return [Array] describe 'get_emails test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_inbox # Get Inbox / EmailAddress # Returns an inbox's properties, including its email address and ID. # @param inbox_id inboxId # @param [Hash] opts the optional parameters # @return [Inbox] describe 'get_inbox test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_inboxes # List Inboxes / Email Addresses # List the inboxes you have created # @param [Hash] opts the optional parameters # @return [Array] describe 'get_inboxes test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_raw_email_contents # Get Raw Email Content # Returns a raw, unparsed and unprocessed email # @param email_id emailId # @param [Hash] opts the optional parameters # @return [String] describe 'get_raw_email_contents test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for get_webhooks # Get all WebHooks for an Inbox # @param inbox_id inboxId # @param [Hash] opts the optional parameters # @return [Array] describe 'get_webhooks test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for send_email # Send Email # Send an email from the inbox's email address. Specify the email recipients and contents in the request body. See the `SendEmailOptions` for more information. Note the `inboxId` refers to the inbox's id NOT its email address # @param inbox_id inboxId # @param send_email_options sendEmailOptions # @param [Hash] opts the optional parameters # @return [nil] describe 'send_email test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end