Exception: Carioca::Services::AlternativeCatcher
- Inherits:
-
StandardError
- Object
- StandardError
- Carioca::Services::AlternativeCatcher
- Defined in:
- lib/carioca/services/finisher.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#return_case ⇒ Object
readonly
Returns the value of attribute return_case.
Instance Method Summary collapse
-
#initialize(*arg, return_case: :status_ko, data: nil) ⇒ AlternativeCatcher
constructor
A new instance of AlternativeCatcher.
Constructor Details
#initialize(*arg, return_case: :status_ko, data: nil) ⇒ AlternativeCatcher
Returns a new instance of AlternativeCatcher.
18 19 20 21 22 |
# File 'lib/carioca/services/finisher.rb', line 18 def initialize(*arg, return_case: :status_ko, data: nil) super(*arg) @return_case = return_case @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
16 17 18 |
# File 'lib/carioca/services/finisher.rb', line 16 def data @data end |
#return_case ⇒ Object (readonly)
Returns the value of attribute return_case.
16 17 18 |
# File 'lib/carioca/services/finisher.rb', line 16 def return_case @return_case end |