Class: Rodbot::Plugins::Slack::Relay

Inherits:
Relay
  • Object
show all
Includes:
Memoize
Defined in:
lib/rodbot/plugins/slack/relay.rb

Instance Method Summary collapse

Methods included from Memoize

included

Methods inherited from Relay

say

Instance Method Details

#loopsObject



13
14
15
16
17
18
# File 'lib/rodbot/plugins/slack/relay.rb', line 13

def loops
  ::Slack.configure do |config|
    config.token = access_token
  end
  [method(:read_loop), method(:write_loop)]
end