Module: Slatan::Mouth::Groups
- Included in:
- Slatan::Mouth
- Defined in:
- lib/slatan/mouth/groups.rb
Class Method Summary collapse
- .close(channel, options = {}) ⇒ Object
- .history(channel, options = {}) ⇒ Object
- .info(channel, options = {}) ⇒ Object
- .list(options = {}) ⇒ Object
- .mark(channel, ts, options = {}) ⇒ Object
- .open(channel, options = {}) ⇒ Object
- .set_purpose(channel, purpose, options = {}) ⇒ Object
- .set_topic(channel, topic, options = {}) ⇒ Object
Class Method Details
.close(channel, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/slatan/mouth/groups.rb', line 8 def close(channel, ={}) send('close', { channel: channel }.merge()) end |
.history(channel, options = {}) ⇒ Object
15 16 17 18 19 |
# File 'lib/slatan/mouth/groups.rb', line 15 def history(channel, ={}) send('history', { channel: channel }.merge()) end |
.info(channel, options = {}) ⇒ Object
22 23 24 25 26 |
# File 'lib/slatan/mouth/groups.rb', line 22 def info(channel, ={}) send('info', { channel: channel }.merge()) end |
.list(options = {}) ⇒ Object
29 30 31 |
# File 'lib/slatan/mouth/groups.rb', line 29 def list(={}) send('list', ) end |
.mark(channel, ts, options = {}) ⇒ Object
34 35 36 37 38 39 |
# File 'lib/slatan/mouth/groups.rb', line 34 def mark(channel, ts, ={}) send('mark', { channel: channel, ts: ts }.merge()) end |
.open(channel, options = {}) ⇒ Object
42 43 44 45 46 |
# File 'lib/slatan/mouth/groups.rb', line 42 def open(channel, ={}) send('open', { channel: channel }.merge()) end |
.set_purpose(channel, purpose, options = {}) ⇒ Object
49 50 51 52 53 54 |
# File 'lib/slatan/mouth/groups.rb', line 49 def set_purpose(channel, purpose, ={}) send('setPurpose', { channel: channel, purpose: purpose }.merge()) end |
.set_topic(channel, topic, options = {}) ⇒ Object
57 58 59 60 61 62 |
# File 'lib/slatan/mouth/groups.rb', line 57 def set_topic(channel, topic, ={}) send('setTopic', { channel: channel, topic: topic }.merge()) end |