lita-yandex-domains
Lita handler to interact with yandex domain API
Installation
Add lita-yandex-domains to your Lita instance's Gemfile:
gem 'lita-yandex-domains'
Configuration
Required attributes
pdd_token
(String) - Yandex PDD Token. Default:nil
.domain
(String) - Your domain name that is linked to yandex domain service. Default:nil
.
Example
Lita.configure do |config|
config.handlers.yandex_domains.pdd_token = 'XXXXXXX'
config.handlers.yandex_domains.domain = 'example.com'
end
Usage
Please note
yandex show all human emails - Show all emails that not include mailing lists
yandex show all maillists - Show all maillists
yandex create email <email> - Create new email with random generated password
yandex delete email <email> - Delete user email
yandex create maillist <email> - Create new maillist
yandex delete maillist <email> - Delete maillist
yandex add <email> to maillist <email> - Add subcriber to maillist
yandex delete <email> from maillist <email> - Remove subcriber from maillist
Note: The above commands except "show" commands require that the user be a member of the :yandex_admins
authorization group.
For example: to add admin for lita yandex domain
run the following command - Lita, auth add username yandex_admins