Exception: Carioca::Services::AlternativeCatcher

Inherits:
StandardError
  • Object
show all
Defined in:
lib/carioca/services/finisher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



16
17
18
# File 'lib/carioca/services/finisher.rb', line 16

def data
  @data
end

#return_caseObject (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