Sha256: c2982c7cf5a0d3cf281b14b630e6ea31cdbe34e46e2deb871e9dc1b2abd01991

Contents?: true

Size: 467 Bytes

Versions: 14

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true

module Rodbot
  class Plugins
    class Hal
      module App

        class Routes < ::App
          route do |r|
            r.root do
              response['Content-Type'] = 'text/markdown; charset=utf-8'
              <<~END
                [🔴](https://www.youtube.com/watch?v=ARJ8cAGm6JE) I'm sorry [[SENDER]], I'm afraid I can't do that.
              END
            end
          end
        end

      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rodbot-0.4.5 lib/rodbot/plugins/hal/app.rb
rodbot-0.4.4 lib/rodbot/plugins/hal/app.rb
rodbot-0.4.3 lib/rodbot/plugins/hal/app.rb
rodbot-0.4.2 lib/rodbot/plugins/hal/app.rb
rodbot-0.4.1 lib/rodbot/plugins/hal/app.rb
rodbot-0.4.0 lib/rodbot/plugins/hal/app.rb
rodbot-0.3.4 lib/rodbot/plugins/hal/app.rb
rodbot-0.3.3 lib/rodbot/plugins/hal/app.rb
rodbot-0.3.2 lib/rodbot/plugins/hal/app.rb
rodbot-0.3.1 lib/rodbot/plugins/hal/app.rb
rodbot-0.3.0 lib/rodbot/plugins/hal/app.rb
rodbot-0.2.0 lib/rodbot/plugins/hal/app.rb
rodbot-0.1.1 lib/rodbot/plugins/hal/app.rb
rodbot-0.1.0 lib/rodbot/plugins/hal/app.rb