Class: Subscription

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/subscription.rb

Instance Method Summary collapse

Instance Method Details

#notification_userObject


13
14
15
# File 'app/models/subscription.rb', line 13

def notification_user
  repository_subscription.try(:user) || user
end