Module: SmartSMS::Account

Defined in:
lib/smart_sms/account.rb

Overview

Module that handle user information

Class Method Summary collapse

Class Method Details

.infoObject

获取用户信息



11
12
13
# File 'lib/smart_sms/account.rb', line 11

def info
  Request.post 'user/get.json'
end

.set(options = {}) ⇒ Object

设置用户信息

* emergency_contact: 


21
22
23
# File 'lib/smart_sms/account.rb', line 21

def set(options = {})
  Request.post 'user/set.json', options
end