class Avram::Params

Included Modules

Defined in:

avram/params.cr

Constructors

Instance Method Summary

Instance methods inherited from module Avram::Paramable

get(key : String) get, get?(key : String) get?, get_all(key : String) get_all, get_all?(key : String) get_all?, has_key_for?(operation : Avram::Operation.class | Avram::SaveOperation.class) : Bool has_key_for?, many_nested(key : String) : Array(Hash(String, String)) many_nested, many_nested?(key : String) : Array(Hash(String, String)) many_nested?, nested(key : String) : Hash(String, String) nested, nested?(key : String) : Hash(String, String) nested?, nested_arrays(key : String) : Hash(String, Array(String)) nested_arrays, nested_arrays?(key : String) : Hash(String, Array(String)) nested_arrays?

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(hash : Hash(String, Array(String) | String) | Hash(String, Array(String)) | Hash(String, String)) #

[View source]
def self.new #

[View source]

Instance Method Detail

def get(key : String) #

[View source]
def get?(key : String) #

[View source]
def get_all(key : String) #

[View source]
def get_all?(key : String) #

[View source]
def get_all_files(key : String) #

[View source]
def many_nested(key : String) : Array(Hash(String, String)) #

[View source]
def many_nested?(key : String) : Array(Hash(String, String)) #

[View source]
def nested(key : String) : Hash(String, String) #

[View source]
def nested?(key : String) : Hash(String, String) #

[View source]
def nested_arrays(key : String) : Hash(String, Array(String)) #

[View source]
def nested_arrays?(key : String) : Hash(String, Array(String)) #

[View source]
def nested_file(key : String) : Hash(String, String) #

[View source]
def nested_file?(key : String) : Hash(String, String) #

[View source]