Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 02:30:28 +01:00
15 Zeilen
195 B
Ruby
15 Zeilen
195 B
Ruby
class CustomWizard::ActionResult
|
|
attr_accessor :success, :handler, :output
|
|
|
|
def initialize
|
|
@success = false
|
|
end
|
|
|
|
def success?
|
|
@success
|
|
end
|
|
|
|
def failed?
|
|
!success
|
|
end
|
|
end
|