Module: Slatan::Mouth::Users
- Included in:
- Slatan::Mouth
- Defined in:
- lib/slatan/mouth/users.rb
Class Method Summary collapse
- .get_presence(user, options = {}) ⇒ Object
- .info(user, options = {}) ⇒ Object
- .list(options = {}) ⇒ Object
- .set_presence(presence, options = {}) ⇒ Object
Class Method Details
.get_presence(user, options = {}) ⇒ Object
20 21 22 23 24 |
# File 'lib/slatan/mouth/users.rb', line 20 def get_presence(user, ={}) send('getPresence', { user: user }.merge()) end |
.info(user, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/slatan/mouth/users.rb', line 8 def info(user, ={}) send('info', { user: user }.merge()) end |
.list(options = {}) ⇒ Object
15 16 17 |
# File 'lib/slatan/mouth/users.rb', line 15 def list(={}) send('list', ) end |
.set_presence(presence, options = {}) ⇒ Object
27 28 29 30 31 |
# File 'lib/slatan/mouth/users.rb', line 27 def set_presence(presence, ={}) send('setPresence', { presence: presence }.merge()) end |