mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:29:52 +01:00
Ignore Metrics/AbcSize in share worker
This commit is contained in:
parent
873d6a2c88
commit
81c9870af4
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class ShareWorker
|
|||
# @param user_id [Integer] the user id
|
||||
# @param answer_id [Integer] the user id
|
||||
# @param service [String] the service to post to
|
||||
def perform(user_id, answer_id, service)
|
||||
def perform(user_id, answer_id, service) # rubocop:disable Metrics/AbcSize
|
||||
@user_service = User.find(user_id).services.find_by(type: "Services::#{service.camelize}")
|
||||
|
||||
@user_service.post(Answer.find(answer_id))
|
||||
|
|
Loading…
Reference in a new issue