Sha256: 2ec3adba7ee6e523b63e76d8683c3c61ba41d0cd6376e6ada31b0a3899b1613b

Contents?: true

Size: 225 Bytes

Versions: 12

Compression:

Stored size: 225 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

12 entries across 12 versions & 1 rubygems

Version Path
ruboty-1.3.1 lib/ruboty/handlers/ping.rb
ruboty-1.3.0 lib/ruboty/handlers/ping.rb
ruboty-1.2.4 lib/ruboty/handlers/ping.rb
ruboty-1.2.3 lib/ruboty/handlers/ping.rb
ruboty-1.2.2 lib/ruboty/handlers/ping.rb
ruboty-1.2.1 lib/ruboty/handlers/ping.rb
ruboty-1.2.0 lib/ruboty/handlers/ping.rb
ruboty-1.1.9 lib/ruboty/handlers/ping.rb
ruboty-1.1.8 lib/ruboty/handlers/ping.rb
ruboty-1.1.7 lib/ruboty/handlers/ping.rb
ruboty-1.1.6 lib/ruboty/handlers/ping.rb
ruboty-1.1.5 lib/ruboty/handlers/ping.rb