lib/slack-ruby-bot/config.rb in slack-ruby-bot-0.10.5 vs lib/slack-ruby-bot/config.rb in slack-ruby-bot-0.11.0
- old
+ new
@@ -1,9 +1,9 @@
module SlackRubyBot
module Config
extend self
- ATTRS = [:token, :url, :aliases, :user, :user_id, :team, :team_id, :allow_message_loops, :send_gifs, :logger].freeze
+ ATTRS = %i[token url aliases user user_id team team_id allow_message_loops send_gifs logger].freeze
attr_accessor(*ATTRS)
def allow_message_loops?
allow_message_loops
end