class MnAuthorizers::NotificationTypeAuthorizer

Public Class Methods

creatable_by?(current_user) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 3
def self.creatable_by?(current_user)
  "Class creatable"
end
deletable_by?(current_user) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 21
def self.deletable_by?(current_user)
  true
end
readable_by?(current_user) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 15
def self.readable_by?(current_user)
  true
end
updatable_by?(current_user) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 9
def self.updatable_by?(current_user)
  true
end

Public Instance Methods

creatable_by?(current_user, resource=nil) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 6
def creatable_by?(current_user, resource=nil)
  "instance creatable"
end
deletable_by?(current_user, resource=nil) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 24
def deletable_by?(current_user, resource=nil)
  true
end
readable_by?(current_user, resource=nil) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 18
def readable_by?(current_user, resource=nil)
  true
end
updatable_by?(current_user, resource=nil) click to toggle source
# File lib/mn_authorizers/notification_type_authorizer.rb, line 12
def updatable_by?(current_user, resource=nil)
  true
end