Sha256: 7d244bbc797ae5a3e78ff420addf023645f54759d4f9e9adf51f41d68c4a185d

Contents?: true

Size: 416 Bytes

Versions: 12

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Errors
        <% errors.each do |e| %>
        class <%= e.camelize %> < SlackError; end
        <% end %>

        ERROR_CLASSES = {
          <% errors.each do |e| %>
          '<%= e %>' => <%= e.camelize %>,
          <% end %>
        }.freeze
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-2.3.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-2.2.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-2.1.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-2.0.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-1.1.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-1.0.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-0.17.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-0.16.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-0.15.1 lib/slack/web/api/templates/errors.erb
slack-ruby-client-0.15.0 lib/slack/web/api/templates/errors.erb
slack-ruby-client-0.14.6 lib/slack/web/api/templates/errors.erb