struct Authority::Owner::NewRequest

Included Modules

Defined in:

requests/owner/new_request.cr

Constant Summary

SCHEMA_VALIDATIONS = {first_name => {message: "Param first_name must be present.", presence: true}, last_name => {message: "Param last_name must be present.", presence: true}, email => {message: "Param email must be present.", presence: true}, username => {message: "Param username must be present.", presence: true}, password => {message: "Param password must be present.", presence: true}} of Nil => Nil
SCHEMA_VALIDATORS = [ConfirmPasswordValidator] of Nil

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(http_params, path : Array(String) = [] of String) #

Class Method Detail

def self.from_urlencoded(string) #

Instance Method Detail

def confirm_password : String #

[View source]
def email : String #

[View source]
def error_messages #

[View source]
def errors #

def first_name : String #

[View source]
def last_name : String #

[View source]
def password : String #

[View source]
def username : String #

[View source]
def valid? #

def validate! #