Class: Cadence::Testing::LocalActivityContext
- Inherits:
-
Activity::Context
- Object
- Activity::Context
- Cadence::Testing::LocalActivityContext
- Defined in:
- lib/cadence/testing/local_activity_context.rb
Instance Method Summary collapse
- #heartbeat(details = nil) ⇒ Object
-
#initialize(metadata) ⇒ LocalActivityContext
constructor
A new instance of LocalActivityContext.
Methods inherited from Activity::Context
#async, #async?, #async_token, #headers, #logger, #run_idem, #workflow_idem
Constructor Details
#initialize(metadata) ⇒ LocalActivityContext
Returns a new instance of LocalActivityContext.
8 9 10 |
# File 'lib/cadence/testing/local_activity_context.rb', line 8 def initialize() super(nil, ) end |
Instance Method Details
#heartbeat(details = nil) ⇒ Object
12 13 14 |
# File 'lib/cadence/testing/local_activity_context.rb', line 12 def heartbeat(details = nil) raise NotImplementedError, 'not yet available for testing' end |