lib/dingtalk/client/group_robot_client.rb in dingtalk-client-0.2.0 vs lib/dingtalk/client/group_robot_client.rb in dingtalk-client-0.2.1
- old
+ new
@@ -14,9 +14,9 @@
include NotifyText
include NotifyMarkdown
include NotifyFeedcard
base_uri Dingtalk::Client.config.group_robot_webhook_prefix
headers 'Content-Type' => 'application/json'
- logger ::Logger.new($stdout), :debug, :curl
+ logger ::Logger.new($stdout), :debug, :curl if Dingtalk::Client.config.is_debugging
end
end
end