Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-08-01 01:04:42 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 19:07:18 +0300
commit18288fe21e12bb524757a97472008eabfca5a352 (patch)
tree06aa2f38e4413d601a6c499e7a54c0cbb13c6755 /app/models/notification_recipient.rb
parente7d136ebdabf3f784412b859bf3ad7427c88e7f6 (diff)
style fixes
Diffstat (limited to 'app/models/notification_recipient.rb')
-rw-r--r--app/models/notification_recipient.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/app/models/notification_recipient.rb b/app/models/notification_recipient.rb
index 1856dfe5734..28ac22da6e2 100644
--- a/app/models/notification_recipient.rb
+++ b/app/models/notification_recipient.rb
@@ -1,11 +1,13 @@
class NotificationRecipient
attr_reader :user, :type
- def initialize(user, type,
- custom_action: nil,
- target: nil,
- acting_user: nil,
- read_ability: nil,
- project: nil)
+ def initialize(
+ user, type,
+ custom_action: nil,
+ target: nil,
+ acting_user: nil,
+ read_ability: nil,
+ project: nil
+ )
@custom_action = custom_action
@acting_user = acting_user
@read_ability = read_ability
@@ -103,4 +105,3 @@ class NotificationRecipient
user.global_notification_setting
end
end
-