Profiles::SettingsUpdateSchema
Inherits Marten::Schema / Marten::Template::Object / Marten::Template::CanDefineTemplateAttributes / Marten::Core::Validation::Callbacks / Marten::Core::Validation / Reference / Object
Constants
FIELDS_ = {"username" => {type: "string", kwargs: {max_size: 128}}, "email" => {type: "email", kwargs: ::NamedTuple.new}, "password" => {type: "string", kwargs: {max_size: 128, strip: false, required: false}}, "image_url" => {type: "url", kwargs: {required: false}}, "bio" => {type: "string", kwargs: {max_size: 10000, required: false}}} of Nil => Nil
Instance methods
bio
bio!
bio?
current_profile
Sourcecurrent_profile=(current_profile : Profile | Nil)
Sourceemail
email!
email?
image_url
image_url!
image_url?
password
password!
password?
username
username!
username?