class XMPP::ComponentPrivilege::Permission

Overview

Represents a single permission grant

Defined in:

xmpp/component/privilege.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(access : String, type : XMPP::ComponentPrivilege::PermissionType, push : Bool = false, namespaces : Array(String) = [] of String) #

[View source]

Instance Method Detail

def access : String #

[View source]
def access=(access : String) #

[View source]
def allows_get? : Bool #

[View source]
def allows_outgoing? : Bool #

[View source]
def allows_set? : Bool #

[View source]
def namespaces : Array(String) #

[View source]
def namespaces=(namespaces : Array(String)) #

[View source]
def push=(push : Bool) #

[View source]
def push? : Bool #

[View source]
def type : PermissionType #

[View source]
def type=(type : PermissionType) #

[View source]