Module: SendCloud::ApiUser

Extended by:
ApiUser
Included in:
ApiUser
Defined in:
lib/send-cloud/apiuser.rb

Instance Method Summary collapse

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