Sha256: 0383dae38ada2d8526a0ea3a4ca82093a61131dcb97111f4b3b7faf2a80a1cad

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 Bytes

Contents

require 'ruboty/robot'

module Ruboty
  module SlackRTM
    module Robot
      delegate :add_reaction, to: :adapter

      def add_reaction(reaction, channel_id, timestamp)
        adapter.add_reaction(reaction, channel_id, timestamp)
        true
      end
    end
  end

  Robot.include SlackRTM::Robot
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruboty-slack_rtm-3.2.5 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.2.4 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.2.3 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.2.2 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.2.1 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.2.0 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.1.1 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.1.0 lib/ruboty/slack_rtm/robot.rb
ruboty-slack_rtm-3.0.0 lib/ruboty/slack_rtm/robot.rb