enum DppmRestApi::Access

Defined in:

access.cr

Enum Members

Create = 1_u8
Read = 2_u8
Update = 4_u8
Delete = 8_u8

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull parser : JSON::PullParser) : Access #

[View source]

Class Method Detail

def self.deny #

[View source]
def self.from_value(value : Int) #

[View source]
def self.super_user #

[View source]

Instance Method Detail

def create? #

[View source]
def delete? #

[View source]
def none? #

[View source]
def read? #

[View source]
def to_json(builder : JSON::Builder) #

[View source]
def to_json(**options) #

[View source]
def update? #

[View source]