Sha256: 633d9263d9bd9b8af544a395f7b3062d2b85dfe13367e509968910f8f961938c

Contents?: true

Size: 224 Bytes

Versions: 10

Compression:

Stored size: 224 Bytes

Contents

module Ruboty
  module Handlers
    class Ping < Base
      on /ping\z/i, name: "ping", description: "Return PONG to PING"

      def ping(message)
        Ruboty::Actions::Ping.new(message).call
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruboty-1.1.4 lib/ruboty/handlers/ping.rb
ruboty-1.1.3 lib/ruboty/handlers/ping.rb
ruboty-1.1.2 lib/ruboty/handlers/ping.rb
ruboty-1.1.1 lib/ruboty/handlers/ping.rb
ruboty-1.1.0 lib/ruboty/handlers/ping.rb
ruboty-1.0.4 lib/ruboty/handlers/ping.rb
ruboty-1.0.3 lib/ruboty/handlers/ping.rb
ruboty-1.0.2 lib/ruboty/handlers/ping.rb
ruboty-1.0.1 lib/ruboty/handlers/ping.rb
ruboty-1.0.0 lib/ruboty/handlers/ping.rb