lib/dingbot/message/link.rb in dingbot-0.1.1 vs lib/dingbot/message/link.rb in dingbot-0.2.0
- old
+ new
@@ -24,15 +24,17 @@
def msg_type
TYPE::LINK
end
def body_params
- super.merge(link: {
- text: @text,
- title: @title,
- picUrl: @pic_url,
- messageUrl: @message_url
- })
+ super.merge(
+ link: {
+ text: @text,
+ title: @title,
+ picUrl: @pic_url,
+ messageUrl: @message_url
+ }
+ )
end
end
end
end
\ No newline at end of file