class SignupRequest

Defined in:

lib/request_objects/user.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(username : String, password : String, role : String, email : String, phone : String, is_admin : Bool = false, is_active : Bool = true, date_joined : String = "") #

[View source]

Class Method Detail

def self.from_json(json_obj) #

[View source]

Instance Method Detail

def date_joined : String #

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

[View source]
def email : String #

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

[View source]
def is_active : Bool #

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

[View source]
def is_admin : Bool #

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

[View source]
def password : String #

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

[View source]
def phone : String #

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

[View source]
def role : String #

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

[View source]
def username : String #

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

[View source]