Sha256: 11a8ddbcdad02eb39b160633507788e5a46e3ef1ecf1dda9482fc89900782763

Contents?: true

Size: 318 Bytes

Versions: 29

Compression:

Stored size: 318 Bytes

Contents

module SlackRubyBotServer
  module Api
    module Endpoints
      class StatusEndpoint < Grape::API
        format :json

        namespace :status do
          desc 'Get system status.'
          get do
            present self, with: Presenters::StatusPresenter
          end
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.6.1 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.6.0 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.5.0 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.4.0 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.3.1 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.3.0 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.2.0 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.1.1 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb
slack-ruby-bot-server-0.1.0 lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb