Method: CredentialAuthorization.can?
- Defined in:
- lib/credential_authorization.rb
.can?(permission) ⇒ Boolean
15 16 17 18 19 20 |
# File 'lib/credential_authorization.rb', line 15 def self.can?() found = self.() yield if block_given? && found found end |