1
0
Fork 0
discourse-custom-wizard-unl.../lib/custom_wizard/action_result.rb

17 Zeilen
238 B
Ruby

2021-03-11 07:30:15 +01:00
# 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