Sha256: db38d7b5885b60b843ce3edd0f9301be2634c39f199bed96c63ed1f6da85c8dd

Contents?: true

Size: 432 Bytes

Versions: 29

Compression:

Stored size: 432 Bytes

Contents

module SlackRubyBotServer
  module Api
    module Endpoints
      class RootEndpoint < Grape::API
        include Helpers::ErrorHelpers

        prefix 'api'

        format :json
        formatter :json, Grape::Formatter::Roar
        get do
          present self, with: Presenters::RootPresenter
        end

        mount StatusEndpoint
        mount TeamsEndpoint

        add_swagger_documentation
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
slack-ruby-bot-server-2.1.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-2.1.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-2.0.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-1.2.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-1.2.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-1.1.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-1.0.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.12.3 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.12.2 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.12.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.12.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.11.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.11.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.10.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.9.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.8.3 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.8.2 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.8.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.8.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.7.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb