Applied rubocop cop 'Style/IndentHash'.
This commit is contained in:
parent
ddd2162ec1
commit
4c0fa5111d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue