Module: SendCloud::ApiUser
Instance Method Summary collapse
-
#add(params = {}) ⇒ Object
添加.
-
#list(params = {}) ⇒ Object
查询(批量查询).
Instance Method Details
#add(params = {}) ⇒ Object
添加
13 14 15 |
# File 'lib/send-cloud/apiuser.rb', line 13 def add (params = {}) SendCloud.post('apiuser/add', params, [:name, :emailType, :domainName]) end |
#list(params = {}) ⇒ Object
查询(批量查询)
8 9 10 |
# File 'lib/send-cloud/apiuser.rb', line 8 def list (params = {}) SendCloud.post('apiuser/list', params, []) end |