Module: Mimepost

Defined in:
lib/mimepost/version.rb,
lib/mimepost.rb,
lib/mimepost/api_error.rb,
lib/mimepost/api_client.rb,
lib/mimepost/models/email.rb,
lib/mimepost/api/stats_api.rb,
lib/mimepost/configuration.rb,
lib/mimepost/models/domain.rb,
lib/mimepost/api/emails_api.rb,
lib/mimepost/models/webhook.rb,
lib/mimepost/api/domains_api.rb,
lib/mimepost/models/email_to.rb,
lib/mimepost/api/accounts_api.rb,
lib/mimepost/api/webhooks_api.rb,
lib/mimepost/models/webhook_1.rb,
lib/mimepost/models/api_response.rb,
lib/mimepost/models/account_profile.rb,
lib/mimepost/models/account_settings.rb,
lib/mimepost/models/email_merge_vars.rb,
lib/mimepost/models/email_attachments.rb,
lib/mimepost/models/api_response_stats.rb,
lib/mimepost/models/api_response_webhooks.rb,
lib/mimepost/models/api_response_emaillogs.rb,
lib/mimepost/models/api_response_stats_data.rb,
lib/mimepost/models/email_global_merge_vars.rb,
lib/mimepost/models/account_profile_response.rb,
lib/mimepost/models/api_response_all_webhooks.rb,
lib/mimepost/models/api_response_domains_list.rb,
lib/mimepost/models/api_response_webhooks_data.rb,
lib/mimepost/models/api_response_emaillogs_data.rb,
lib/mimepost/models/api_response_single_webhooks.rb,
lib/mimepost/models/api_response_all_webhooks_data.rb,
lib/mimepost/models/api_response_domains_list_data.rb,
lib/mimepost/models/api_response_stats_data_graph_summary.rb,
lib/mimepost/models/api_response_stats_data_total_summary.rb,
lib/mimepost/models/api_response_stats_data_datewise_summary.rb,
lib/mimepost/models/api_response_stats_data_total_summary_status.rb

Overview

#mimepost

#MimePost API for sending email. You can find out more about MimePost at [mimepost.com](http://mimepost.com). For this sample, you can use the api key ‘special-key` to test the authorization filters.

OpenAPI spec version: 0.1.0 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.18

Defined Under Namespace

Classes: AccountProfile, AccountProfileResponse, AccountSettings, AccountsApi, ApiClient, ApiError, ApiResponse, ApiResponseAllWebhooks, ApiResponseAllWebhooksData, ApiResponseDomainsList, ApiResponseDomainsListData, ApiResponseEmaillogs, ApiResponseEmaillogsData, ApiResponseSingleWebhooks, ApiResponseStats, ApiResponseStatsData, ApiResponseStatsDataDatewiseSummary, ApiResponseStatsDataGraphSummary, ApiResponseStatsDataTotalSummary, ApiResponseStatsDataTotalSummaryStatus, ApiResponseWebhooks, ApiResponseWebhooksData, Configuration, Domain, DomainsApi, Email, EmailAttachments, EmailGlobalMergeVars, EmailMergeVars, EmailTo, EmailsApi, StatsApi, Webhook, Webhook1, WebhooksApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Mimepost.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



63
64
65
66
67
68
69
# File 'lib/mimepost.rb', line 63

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end