Devise::Mapping
Runtime lookup result: модель + скоп + модули + диспетчеры. (Compile-time реестр MAPPINGS живёт в models.cr.)
Constructors
new(scope : String, modules : Array(Symbol), providers : Array(Symbol), find : Int64 -> Nil | ActiveRecord::Base, find_by_email : String -> Nil | ActiveRecord::Base, find_by_token : String, String -> Nil | ActiveRecord::Base, build : Hash(String, Array(Int64) | Array(String) | Bool | Float64 | Int64 | JSON::Any | PG::Numeric | Slice(UInt8) | String | Time | Nil) -> ActiveRecord::Base, attrs : ActiveRecord::Base -> Hash(String, Array(Int64) | Array(String) | Bool | Float64 | Int64 | JSON::Any | PG::Numeric | Slice(UInt8) | String | Time | Nil), valid_password : ActiveRecord::Base, String -> Bool, update_with_password : ActiveRecord::Base, Hash(String, Array(Int64) | Array(String) | Bool | Float64 | Int64 | JSON::Any | PG::Numeric | Slice(UInt8) | String | Time | Nil) -> Bool, save_unvalidated : ActiveRecord::Base -> Bool, save_validated : ActiveRecord::Base -> Bool, assign : ActiveRecord::Base, Hash(String, Array(Int64) | Array(String) | Bool | Float64 | Int64 | JSON::Any | PG::Numeric | Slice(UInt8) | String | Time | Nil) -> _, destroy_record : ActiveRecord::Base -> _, with_reset_password_token : Nil | String -> Nil | ActiveRecord::Base, reset_password_by_token : Nil | Hash(String, Array(Int64) | Array(String) | Bool | Float64 | Int64 | JSON::Any | PG::Numeric | Slice(UInt8) | String | Time | Nil) -> Nil | ActiveRecord::Base, send_reset_password_instructions : Nil | Hash(String, Array(Int64) | Array(String) | Bool | Float64 | Int64 | JSON::Any | PG::Numeric | Slice(UInt8) | String | Time | Nil) -> Nil | ActiveRecord::Base, send_confirmation_instructions : Nil | String -> Nil | ActiveRecord::Base, confirm_by_token : Nil | String -> Nil | ActiveRecord::Base, send_unlock_instructions : Nil | String -> Nil | ActiveRecord::Base, unlock_by_token : Nil | String -> Nil | ActiveRecord::Base, omniauth_callback : Nil | Devise::OmniAuth::AuthHash -> Nil | ActiveRecord::Base, serialize_from_cookie : Nil | Array(Int64), String, String -> Nil | ActiveRecord::Base)
SourceInstance methods
assign
Sourceattrs
Sourcebuild
Sourceconfirm_by_token
Sourcedestroy_record
Sourcefind
Sourcefind_by_email
Sourcefind_by_token
Sourcemodules
Sourceomniauth_callback
Sourcepath_prefix
Sourceproviders
Sourcereset_password_by_token
Sourcesave_unvalidated
Sourcesave_validated
Sourcescope
Sourcesend_confirmation_instructions
Sourcesend_reset_password_instructions
Sourcesend_unlock_instructions
Sourceserialize_from_cookie
Sourceunlock_by_token
Sourceupdate_with_password
Sourcevalid_password
Sourcewith_reset_password_token
Source