Module: Authorization::Pool

Extended by:
ActiveSupport::Concern
Includes:
Authorizable
Defined in:
app/models/katello/authorization/pool.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#readable?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/models/katello/authorization/pool.rb', line 7

def readable?
  self.class.readable.where(id: self.id).any?
end