0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-23 18:00:29 +01:00
discourse-custom-wizard/lib/custom_wizard/action_result.rb
2021-06-23 16:13:58 +10:00

16 Zeilen
238 B
Ruby

# frozen_string_literal: true
class CustomWizard::ActionResult
attr_accessor :success, :handler, :output, :submission
def initialize
@success = false
end
def success?
@success
end
def failed?
!success
end
end