Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2025-02-19 19:07:02 +01:00

* Code formatting * Both "type" and "name" are used to refer to the validation type. Changed all to "type". * Added proper abstraction of realtime validation classes on server * UI improvements in admin and wizard
11 Zeilen
Kein EOL
219 B
Ruby
11 Zeilen
Kein EOL
219 B
Ruby
class CustomWizard::RealtimeValidation::Result
|
|
attr_accessor :type,
|
|
:items,
|
|
:serializer_opts
|
|
|
|
def initialize(type)
|
|
@type = type
|
|
@items = []
|
|
@serializer_opts = {}
|
|
end
|
|
end |