module Slatan::Mouth::Reactions

Public Class Methods

add(name, options={}) click to toggle source

@see api.slack.com/methods/reactions.add

# File lib/slatan/mouth/reactions.rb, line 8
def add(name, options={})
  send('add', {
    name: name
  }.merge(options))
end
get(options={}) click to toggle source

@see api.slack.com/methods/reactions.get

# File lib/slatan/mouth/reactions.rb, line 15
def get(options={})
  send('get', options)
end
list(options={}) click to toggle source

@see api.slack.com/methods/reactions.list

# File lib/slatan/mouth/reactions.rb, line 20
def list(options={})
  send('list', options)
end
remove(name, options={}) click to toggle source

@see api.slack.com/methods/reactions.remove

# File lib/slatan/mouth/reactions.rb, line 25
def remove(name, options={})
  send('remove', {
    name: name
  }.merge(options))
end

Private Class Methods

send(method, msg) click to toggle source
# File lib/slatan/mouth/reactions.rb, line 32
def send(method, msg)
  Mouth.send(@category, method, msg)
end