No commit activity in last 3 years
No release in over 3 years
Lita handler to interact with yandex domain API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 4.7
~> 0.1.4
 Project Readme

lita-yandex-domains

Build Status Coverage Status

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

How to get PDD token

  • 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

License

MIT