Sha256: 82ad15956b467f40c9f00ed498f2b8c2f4e1b495e1c442a35f5198af68b32d59

Contents?: true

Size: 324 Bytes

Versions: 14

Compression:

Stored size: 324 Bytes

Contents

module Routes
  class Help < App

    route do |r|

      # GET /help
      r.root do
        response['Content-Type'] = 'text/markdown; charset=utf-8'
        <<~END
          [[SENDER]] I'm Rodbot, what can I do for you today?

          * `!ping` – check whether I'm listening
        END
      end

    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rodbot-0.4.5 lib/templates/new/app/routes/help.rb
rodbot-0.4.4 lib/templates/new/app/routes/help.rb
rodbot-0.4.3 lib/templates/new/app/routes/help.rb
rodbot-0.4.2 lib/templates/new/app/routes/help.rb
rodbot-0.4.1 lib/templates/new/app/routes/help.rb
rodbot-0.4.0 lib/templates/new/app/routes/help.rb
rodbot-0.3.4 lib/templates/new/app/routes/help.rb
rodbot-0.3.3 lib/templates/new/app/routes/help.rb
rodbot-0.3.2 lib/templates/new/app/routes/help.rb
rodbot-0.3.1 lib/templates/new/app/routes/help.rb
rodbot-0.3.0 lib/templates/new/app/routes/help.rb
rodbot-0.2.0 lib/templates/new/app/routes/help.rb
rodbot-0.1.1 lib/templates/new/app/routes/help.rb
rodbot-0.1.0 lib/templates/new/app/routes/help.rb