Applied rubocop cop 'Style/IndentHash'.

This commit is contained in:
Thorsten Eckel 2015-07-03 17:27:55 +02:00
parent ddd2162ec1
commit 4c0fa5111d

View file

@ -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