From 4c0fa5111d572e92c56a5df82379a8b5a91e4242 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 3 Jul 2015 17:27:55 +0200 Subject: [PATCH] Applied rubocop cop 'Style/IndentHash'. --- app/models/observer/ticket/article/communicate_twitter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/observer/ticket/article/communicate_twitter.rb b/app/models/observer/ticket/article/communicate_twitter.rb index 3ef62d485..ff00a5f8e 100644 --- a/app/models/observer/ticket/article/communicate_twitter.rb +++ b/app/models/observer/ticket/article/communicate_twitter.rb @@ -22,11 +22,11 @@ class Observer::Ticket::Article::CommunicateTwitter < ActiveRecord::Observer twitter = Channel::Twitter.new tweet = twitter.send({ - type: type['name'], + type: type['name'], to: record.to, body: record.body, in_reply_to: record.in_reply_to - }) + }) record.message_id = tweet.id record.save end