lib/dingtalk/client/configurable.rb in dingtalk-client-0.2.0 vs lib/dingtalk/client/configurable.rb in dingtalk-client-0.2.1

- old
+ new

@@ -26,13 +26,15 @@ end # @see Configurable class Configuration attr_writer :group_robot_tokens, :group_robot_webhook_prefix, :template_dir + attr_accessor :is_debugging def initialize @group_robot_webhook_prefix = 'https://oapi.dingtalk.com/robot/send?access_token=' @template_dir = '.' + @is_debugging = false end def group_robot_tokens return @group_robot_tokens.symbolize_keys if @group_robot_tokens.is_a?(Hash)