Sha256: 0c7e2a3bfcb5a09c00d50af4ba4233ab40b34b755888947776cd234eecbca7a4

Contents?: true

Size: 929 Bytes

Versions: 6

Compression:

Stored size: 929 Bytes

Contents

Mailgun - Domains
====================

This is the Mailgun Ruby *Domain* utilities.

The below assumes you've already installed the Mailgun Ruby SDK in to your
project. If not, go back to the master README for instructions. It currently supports
all calls except credentials.

Usage - Domains
-----------------------

```ruby
# First, instantiate the Mailgun Client with your API key
mg_client = Mailgun::Client.new('your-api-key')
domainer = Mailgun::Domains.new(mg_client)

# Get a list of current domains.
domainer.list

# View details of a domain
domainer.info 'my.perfect.domain'

# Add a new domain
domainer.create 'my.new.moreness'
# or with options
domainer.create 'my.new.moreness', { some: 'options' }

# Remove a domain
domainer.remove 'this.one.is.not.needed.'
```

More Documentation
------------------
See the official [Mailgun Domain Docs](https://documentation.mailgun.com/api-domains.html)
for more information

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mailgun-ruby-1.1.5 docs/Domains.md
mailgun-ruby-1.1.4 docs/Domains.md
mailgun-ruby-1.1.3 Domains.md
mailgun-ruby-1.1.2 Domains.md
mailgun-ruby-1.1.1 Domains.md
mailgun-ruby-1.1.0 Domains.md