Module: Slatan::Mouth::Reactions
- Included in:
- Slatan::Mouth
- Defined in:
- lib/slatan/mouth/reactions.rb
Class Method Summary collapse
- .add(name, options = {}) ⇒ Object
- .get(options = {}) ⇒ Object
- .list(options = {}) ⇒ Object
- .remove(name, options = {}) ⇒ Object
Class Method Details
.add(name, options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/slatan/mouth/reactions.rb', line 8 def add(name, ={}) send('add', { name: name }.merge()) end |
.get(options = {}) ⇒ Object
15 16 17 |
# File 'lib/slatan/mouth/reactions.rb', line 15 def get(={}) send('get', ) end |
.list(options = {}) ⇒ Object
20 21 22 |
# File 'lib/slatan/mouth/reactions.rb', line 20 def list(={}) send('list', ) end |
.remove(name, options = {}) ⇒ Object
25 26 27 28 29 |
# File 'lib/slatan/mouth/reactions.rb', line 25 def remove(name, ={}) send('remove', { name: name }.merge()) end |