Module: Slatan::Mouth::Users

Included in:
Slatan::Mouth
Defined in:
lib/slatan/mouth/users.rb

Class Method Summary collapse

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, options={})
  send('getPresence', {
    user: user
  }.merge(options))
end

.info(user, options = {}) ⇒ Object



8
9
10
11
12
# File 'lib/slatan/mouth/users.rb', line 8

def info(user, options={})
  send('info', {
    user: user
  }.merge(options))
end

.list(options = {}) ⇒ Object



15
16
17
# File 'lib/slatan/mouth/users.rb', line 15

def list(options={})
  send('list', options)
end

.set_presence(presence, options = {}) ⇒ Object



27
28
29
30
31
# File 'lib/slatan/mouth/users.rb', line 27

def set_presence(presence, options={})
  send('setPresence', {
    presence: presence
  }.merge(options))
end