Class: Renalware::Admin::DevopsPolicy

Inherits:
BasePolicy show all
Defined in:
app/policies/renalware/admin/devops_policy.rb

Instance Attribute Summary

Attributes inherited from ApplicationPolicy

#record, #user

Instance Method Summary collapse

Methods inherited from BasePolicy

#contact_added?, #create?, #debug?, #initialize, #sort?

Methods inherited from ApplicationPolicy

#create?, #initialize, #scope

Constructor Details

This class inherits a constructor from Renalware::BasePolicy

Instance Method Details

#show?Boolean Also known as: index?, edit?, update?, destroy?, new?

Returns:

  • (Boolean)


8
9
10
# File 'app/policies/renalware/admin/devops_policy.rb', line 8

def show?
  user_is_devops?
end