Module: PrivatePerson::ActsAsPermissible::InstanceMethods

Defined in:
lib/private_person/extensions/acts_as_permissible.rb

Instance Method Summary collapse

Instance Method Details

#is_public?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/private_person/extensions/acts_as_permissible.rb', line 22

def is_public?
  !permissions.by_relationship_type(nil).empty?
end