Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
XMPP::ComponentPrivilege::Permission
Inherits
Reference
/
Object
Represents a single permission grant
Constructors
new
(access :
String
, type :
XMPP::ComponentPrivilege::PermissionType
, push :
Bool
= false, namespaces :
Array
(
String
) = [] of
String
)
Source
Instance methods
access
Source
access=
(access :
String
)
Source
allows_get?
Source
allows_outgoing?
Source
allows_set?
Source
namespaces
Source
namespaces=
(namespaces :
Array
(
String
))
Source
push=
(push :
Bool
)
Source
push?
Source
type
Source
type=
(type :
PermissionType
)
Source