Class: Teamlab::MailServer

Inherits:
Object
  • Object
show all
Includes:
MailserverDomains, MailserverMailboxes
Defined in:
lib/teamlab/modules/mailserver.rb

Overview

API for MailServer api namespace For example api.onlyoffice.com/portals/section/mailserver/addressdata

Instance Method Summary collapse

Methods included from MailserverMailboxes

#add_mailbox, #delete_mailbox, #mailboxes

Methods included from MailserverDomains

#tenant_domain_list

Constructor Details

#initialize(config = nil) ⇒ MailServer

Returns a new instance of MailServer.



14
15
16
# File 'lib/teamlab/modules/mailserver.rb', line 14

def initialize(config = nil)
  @request = Teamlab::Request.new(config, 'mailserver')
end