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-0.6.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.6.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.5.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.4.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.3.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.3.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.2.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.1.1 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb
slack-ruby-bot-server-0.1.0 lib/slack-ruby-bot-server/api/endpoints/root_endpoint.rb