module SmartSMS::Account

Module that handle user information

Public Instance Methods

info() click to toggle source

获取用户信息

# File lib/smart_sms/account.rb, line 11
def info
  Request.post 'user/get.json'
end
set(options = {}) click to toggle source

设置用户信息

* emergency_contact: 紧急联系人
* emergency_mobile:  紧急联系人手机号
* alarm_balance:     短信余额提醒阈值。一天只提示一次
# File lib/smart_sms/account.rb, line 21
def set(options = {})
  Request.post 'user/set.json', options
end