Module: BlobAuthorization
- Defined in:
- app/models/concerns/blob_authorization.rb
Instance Method Summary collapse
Instance Method Details
#authorize_blob?(object = nil) ⇒ Boolean
4 5 6 |
# File 'app/models/concerns/blob_authorization.rb', line 4 def (object = nil) .includes(:record).any? { || .(object) } || .none? end |