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
|
twitter = Channel::Twitter.new
|
||||||
tweet = twitter.send({
|
tweet = twitter.send({
|
||||||
type: type['name'],
|
type: type['name'],
|
||||||
to: record.to,
|
to: record.to,
|
||||||
body: record.body,
|
body: record.body,
|
||||||
in_reply_to: record.in_reply_to
|
in_reply_to: record.in_reply_to
|
||||||
})
|
})
|
||||||
record.message_id = tweet.id
|
record.message_id = tweet.id
|
||||||
record.save
|
record.save
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue