Class: Plutonium::Interaction::Async::Context::Targets
- Inherits:
-
Struct
- Object
- Struct
- Plutonium::Interaction::Async::Context::Targets
- Defined in:
- lib/plutonium/interaction/async/context.rb
Overview
Resolved targets, split three ways.
records passed BOTH checks: visible in the scope, and permitted by the
policy predicate. missing_ids was deleted or fell out of scope.
unauthorized_ids is still visible but the initiator may no longer act
on it.
The two failure buckets are surfaced rather than swallowed, and kept apart because they mean different things to an operator: "that record is gone" and "you may no longer archive that record" call for different responses. Silence in either is how bulk operations quietly under-apply — the run reports success having touched half the records.
Instance Attribute Summary collapse
-
#missing_ids ⇒ Object
Returns the value of attribute missing_ids.
-
#records ⇒ Object
Returns the value of attribute records.
-
#unauthorized_ids ⇒ Object
Returns the value of attribute unauthorized_ids.
Instance Attribute Details
#missing_ids ⇒ Object
Returns the value of attribute missing_ids
82 83 84 |
# File 'lib/plutonium/interaction/async/context.rb', line 82 def missing_ids @missing_ids end |
#records ⇒ Object
Returns the value of attribute records
82 83 84 |
# File 'lib/plutonium/interaction/async/context.rb', line 82 def records @records end |
#unauthorized_ids ⇒ Object
Returns the value of attribute unauthorized_ids
82 83 84 |
# File 'lib/plutonium/interaction/async/context.rb', line 82 def @unauthorized_ids end |