about summary refs log tree commit diff
path: root/app/services/remove_status_service.rb
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-12-06 19:41:57 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-06 11:41:57 +0100
commitb21db9bbde3784556a5861e2cdec0c8c2184c72e (patch)
tree5702878677aa85352185fd22e69fb10cd142d9ee /app/services/remove_status_service.rb
parent42bcbd36b72c7ddc5ae1ecced09614863ca382bd (diff)
Using double splat operator (#5859)
Diffstat (limited to 'app/services/remove_status_service.rb')
-rw-r--r--app/services/remove_status_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/remove_status_service.rb b/app/services/remove_status_service.rb
index 9f603bb36..a100f73ce 100644
--- a/app/services/remove_status_service.rb
+++ b/app/services/remove_status_service.rb
@@ -3,7 +3,7 @@
 class RemoveStatusService < BaseService
   include StreamEntryRenderer
 
-  def call(status, options = {})
+  def call(status, **options)
     @payload      = Oj.dump(event: :delete, payload: status.id.to_s)
     @status       = status
     @account      = status.account