Ruby client for Yandex.Mail for Domains API.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install yandex_domains
This client works for only Administrator access. More details about Administrator user is here. In order to use the client and API features, the PDD token is required. You can get a PDD token on the token management page by entering a domain name that has already been verified.
client = ::.(pdd_token)
After configuring a client, you can do the followings.
Signing up a domain
** Adding a mailbox for a domain**
client.add_mailbox('google.com', 'hi', 'strongpassword')
** Deleting a mailbox on a domain**
- Fork it ( https://github.com/beydogan/yandex_domains/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request