Ruby gem for the ForwardMX.io API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
.gitignore
ForwardMX-0.1.0.gem
ForwardMX.gemspec
Gemfile
LICENSE.txt
README.md
Rakefile

README.md

ForwardMX

Gem

Manage ForwardMX email forwarding and aliases in your Ruby applications.

Installation

Add this line to your application's Gemfile:

gem 'ForwardMX'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ForwardMX

Usage

client = ForwardMX.new("API_KEY")

client.domains
client.aliases
client.create_domain "domain.tld"
client.create_alias "domain.tld", "test", "/dev/null"
client.update_alias "domain.tld", "test", "email@gmail.com"
client.destroy_alias "domain.tld", "test"
client.destroy_domain "domain.tld"

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/b1nary/ForwardMX-ruby.

License

The gem is available as open source under the terms of the MIT License.