Socket
Book a DemoInstallSign in
Socket

mimepost

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mimepost

1.0.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

mimepost

Mimepost - the Ruby gem for the mimepost

MimePost API for sending email. You can find out more about MimePost at https://mimepost.com. For this sample, you can use the api key special-key to test the authorization filters.

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 0.1.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build mimepost.gemspec

Then either install the gem locally:

gem install ./mimepost-1.0.0.gem

(for development, run gem install --dev ./mimepost-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'mimepost', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/mimepost/mimepost-ruby, then add the following in the Gemfile:

gem 'mimepost', :git => 'https://github.com/mimepost/mimepost-ruby.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'mimepost'

# Setup authorization
Mimepost.configure do |config|
  # Configure API key authorization: api_key
  config.api_key['X-Auth-Token'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['X-Auth-Token'] = 'Bearer'
end

api_instance = Mimepost::AccountsApi.new

begin
  #Get account profile details
  result = api_instance.account_profile_get
  p result
rescue Mimepost::ApiError => e
  puts "Exception when calling AccountsApi->account_profile_get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.mimepost.com/v1/

ClassMethodHTTP requestDescription
Mimepost::AccountsApiaccount_profile_getGET /account/profile/Get account profile details
Mimepost::AccountsApiaccount_profile_postPOST /account/profile/Update account profile details
Mimepost::AccountsApisettings_getGET /settings/Get all the settings
Mimepost::AccountsApisettings_postPOST /settings/Set a setting
Mimepost::DomainsApidomains_getGET /domains/Get a list of all the domains
Mimepost::DomainsApidomains_id_approve_postPOST /domains/{id}/approve/Submit request for the approval of a verified domain
Mimepost::DomainsApidomains_id_deleteDELETE /domains/{id}Remove a single domain
Mimepost::DomainsApidomains_id_getGET /domains/{id}Get the details of a single domain
Mimepost::DomainsApidomains_id_verify_dkim_postPOST /domains/{id}/verify_dkim/Request for the verification of DKIM record for a single domain
Mimepost::DomainsApidomains_id_verify_spf_postPOST /domains/{id}/verify_spf/Request for the verification of SPF record for a single domain
Mimepost::DomainsApidomains_id_verify_tracking_postPOST /domains/{id}/verify_tracking/Request for the verification of tracking record for a single domain
Mimepost::DomainsApidomains_postPOST /domains/Add single domain
Mimepost::EmailsApisend_emailPOST /emails/Send email
Mimepost::StatsApiemaillogs_getGET /emaillogs/Get the logs of a particular date
Mimepost::StatsApistats_getGET /stats/Get the summary of stats for a range of dates
Mimepost::WebhooksApiwebhooks_getGET /webhooks/Get the list of all the webhooks
Mimepost::WebhooksApiwebhooks_id_deleteDELETE /webhooks/{id}Remove a single webhook
Mimepost::WebhooksApiwebhooks_id_getGET /webhooks/{id}Get the details of a single webhook
Mimepost::WebhooksApiwebhooks_id_putPUT /webhooks/{id}Update the details of a single webhook
Mimepost::WebhooksApiwebhooks_postPOST /webhooks/Add single webhook

Documentation for Models

Documentation for Authorization

api_key

  • Type: API key
  • API key parameter name: X-Auth-Token
  • Location: HTTP header

FAQs

Package last updated on 12 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.