Class: Success

Inherits:
UseCaseFlow::Result show all
Defined in:
lib/use_case_flow/result.rb

Instance Attribute Summary

Attributes inherited from UseCaseFlow::Result

#name

Instance Method Summary collapse

Methods inherited from UseCaseFlow::Result

#else, #else_fail!, #method_missing, #value, #values

Constructor Details

#initialize(*args) ⇒ Success

Returns a new instance of Success.



46
47
48
# File 'lib/use_case_flow/result.rb', line 46

def initialize(*args)
  super(:success, *args)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UseCaseFlow::Result