summaryrefslogtreecommitdiff
path: root/app/models/notification_recipient.rb
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-07-31 15:04:42 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 09:07:18 -0700
commit18288fe21e12bb524757a97472008eabfca5a352 (patch)
tree06aa2f38e4413d601a6c499e7a54c0cbb13c6755 /app/models/notification_recipient.rb
parente7d136ebdabf3f784412b859bf3ad7427c88e7f6 (diff)
downloadgitlab-ce-18288fe21e12bb524757a97472008eabfca5a352.tar.gz
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
-