Sha256: ccf2754d045e611ce429575eac55dcd4b0dfbe171f1b1d446f124c0cdd19a2ca

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

require "waylon/core"
require "slack-ruby-client"

Slack.configure do |conf|
  conf.token = ENV.fetch("SLACK_OAUTH_TOKEN", nil)
  conf.logger = Waylon::Logger.logger
end

Slack::Web::Client.configure do |conf|
  conf.user_agent = "Waylon/#{Waylon::Core::VERSION}"
  conf.logger = Waylon::Logger.logger
end

require_relative "slack/version"
require_relative "slack/user"
require_relative "slack/channel"
require_relative "slack/message"
require_relative "senses/slack"
require_relative "webhooks/slack"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waylon-slack-0.1.2 lib/waylon/slack.rb