class Users::UpdatePasswordForm include ActiveModel::Model attr_accessor :password, :old_password validates :password, presence: true validates :old_password, presence: true end