Sha256: 2aac89377a595cf63085225b82ecfa0611e7f77a2d01eb595aee8ba8234a02c6

Contents?: true

Size: 687 Bytes

Versions: 2

Compression:

Stored size: 687 Bytes

Contents

# frozen_string_literal: true

# When using Slack's Block Builder Kit, https://app.slack.com/block-kit-builder, there are some values that need
# to be valid otherwise the UI will return a warning and report the block as being invalid.

# Store and populate any other examples here, and use throughout 'examples/' scripts.

module Config
  class << self
    attr_accessor :channel_id, :user_id, :usergroup_id, :webhook_url
  end

  self.channel_id = 'CL9QH354H'
  self.user_id = 'URLQ55EMB'
  self.usergroup_id = 'SBR3Q0B2T'

  # Uncomment and provide a valid webook to post to `examples/` scripts to Slack:
  # self.webhook_url = 'https://hooks.slack.com/services/your/webhook/url'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slack-ruby-block-kit-0.25.0 examples/config.rb
slack-ruby-block-kit-0.24.0 examples/config.rb