Module: Slatan::Mouth::Mpim
- Included in:
- Slatan::Mouth
- Defined in:
- lib/slatan/mouth/mpim.rb
Class Method Summary collapse
- .close(channel, options = {}) ⇒ Object
- .list(options = {}) ⇒ Object
- .mark(channel, ts, options = {}) ⇒ Object
- .open(users, options = {}) ⇒ Object
Class Method Details
.close(channel, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/slatan/mouth/mpim.rb', line 8 def close(channel, ={}) send('close', { channel: channel }.merge()) end |
.list(options = {}) ⇒ Object
15 16 17 |
# File 'lib/slatan/mouth/mpim.rb', line 15 def list(={}) send('list', ) end |
.mark(channel, ts, options = {}) ⇒ Object
20 21 22 23 24 25 |
# File 'lib/slatan/mouth/mpim.rb', line 20 def mark(channel, ts, ={}) send('mark', { channel: channel, ts: ts }.merge()) end |
.open(users, options = {}) ⇒ Object
29 30 31 32 33 |
# File 'lib/slatan/mouth/mpim.rb', line 29 def open(users, ={}) send('open', { users: users.join(',') }.merge()) end |