module Yandex::Pdd::Client::Maillists
Public Instance Methods
maillist_add(options = {})
click to toggle source
domain=<Domain name> maillist=<Email or maillist login>
# File lib/yandex/pdd/client/maillists.rb, line 7 def maillist_add(options = {}) post('/api2/admin/email/ml/add', options) end
maillist_delete(options = {})
click to toggle source
domain=<Domain name> maillist=<Email or maillist login>|maillist_uid=<Maillist ID>
# File lib/yandex/pdd/client/maillists.rb, line 21 def maillist_delete(options = {}) post('/api2/admin/email/ml/del', options) end
maillist_list(domain)
click to toggle source
domain=<Domain name>
# File lib/yandex/pdd/client/maillists.rb, line 12 def maillist_list(domain) query = { domain: domain } get('/api2/admin/email/ml/list', query) end