lib/fluent/plugin/in_slackrtm.rb in fluent-plugin-slackrtm-0.2.3 vs lib/fluent/plugin/in_slackrtm.rb in fluent-plugin-slackrtm-0.2.4
- old
+ new
@@ -4,10 +4,10 @@
class SlackRTMInput < Fluent::Input
Fluent::Plugin.register_input('slackrtm', self)
config_param :tag, :string
- config_param :token, :string
+ config_param :token, :string, :secret => true
def start
super
@messages_thread = Thread.new do
url = SlackRTM.get_url token: token