Class: IIInteractor::Context::Status

Inherits:
Struct
  • Object
show all
Defined in:
lib/ii_interactor/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStatus

Returns a new instance of Status.



6
7
8
9
10
# File 'lib/ii_interactor/context.rb', line 6

def initialize(*)
  self.failed = false
  self.stopped = false
  self.called = []
end

Instance Attribute Details

#calledObject

Returns the value of attribute called

Returns:

  • (Object)

    the current value of called



5
6
7
# File 'lib/ii_interactor/context.rb', line 5

def called
  @called
end

#failedObject

Returns the value of attribute failed

Returns:

  • (Object)

    the current value of failed



5
6
7
# File 'lib/ii_interactor/context.rb', line 5

def failed
  @failed
end

#stoppedObject

Returns the value of attribute stopped

Returns:

  • (Object)

    the current value of stopped



5
6
7
# File 'lib/ii_interactor/context.rb', line 5

def stopped
  @stopped
end