Sha256: 2473c15e098e02870667cad8e44789a355b255049582ce57a3b8cf7b6b82006a

Contents?: true

Size: 222 Bytes

Versions: 9

Compression:

Stored size: 222 Bytes

Contents

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ellen-0.2.8 lib/ellen/handlers/ping.rb
ellen-0.2.7 lib/ellen/handlers/ping.rb
ellen-0.2.6 lib/ellen/handlers/ping.rb
ellen-0.2.5 lib/ellen/handlers/ping.rb
ellen-0.2.4 lib/ellen/handlers/ping.rb
ellen-0.2.3 lib/ellen/handlers/ping.rb
ellen-0.2.2 lib/ellen/handlers/ping.rb
ellen-0.2.1 lib/ellen/handlers/ping.rb
ellen-0.2.0 lib/ellen/handlers/ping.rb