From b60c5d1c1a2b35650ccc65fda5c426e038bbbf9f Mon Sep 17 00:00:00 2001 From: Jeff Lai Date: Wed, 23 Mar 2016 17:07:59 +0800 Subject: [PATCH] Rename dingtalk message#send to send_with to avoid conflicts with ruby 'send' --- lib/dingtalk/api/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dingtalk/api/message.rb b/lib/dingtalk/api/message.rb index 7bca44c..ebc6cc6 100644 --- a/lib/dingtalk/api/message.rb +++ b/lib/dingtalk/api/message.rb @@ -1,7 +1,7 @@ module Dingtalk module Api class Message < Base - def send(params) + def send_with(params) http_post('send', params) end -- libgit2 0.21.0