Class: API::Services

Inherits:
Grape::API::Instance
  • Object
show all
Defined in:
lib/api/services.rb

Constant Summary collapse

SERVICES =
services.freeze
SERVICE_CLASSES =
service_classes.freeze
TRIGGER_SERVICES =
{
  'mattermost-slash-commands' => [
    {
      name: :token,
      type: String,
      desc: 'The Mattermost token'
    }
  ],
  'slack-slash-commands' => [
    {
      name: :token,
      type: String,
      desc: 'The Slack token'
    }
  ]
}.freeze