0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00
discourse-custom-wizard/lib/custom_wizard/action_result.rb
2020-07-17 17:02:48 +10:00

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