Module: Slatan::Mouth::Reactions

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

Class Method Summary collapse

Class Method Details

.add(name, options = {}) ⇒ Object



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

def add(name, options={})
  send('add', {
    name: name
  }.merge(options))
end

.get(options = {}) ⇒ Object



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

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

.list(options = {}) ⇒ Object



20
21
22
# File 'lib/slatan/mouth/reactions.rb', line 20

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

.remove(name, options = {}) ⇒ Object



25
26
27
28
29
# File 'lib/slatan/mouth/reactions.rb', line 25

def remove(name, options={})
  send('remove', {
    name: name
  }.merge(options))
end