Class: Tataru::Instructions::MarkDeletableInstruction
- Inherits:
-
ResourceInstruction
- Object
- Tataru::Instruction
- ResourceInstruction
- Tataru::Instructions::MarkDeletableInstruction
- Defined in:
- lib/tataru/instructions/mark_deletable_instruction.rb
Overview
puts remote id up for deletion
Instance Attribute Summary
Attributes inherited from Tataru::Instruction
Instance Method Summary collapse
Methods inherited from ResourceInstruction
Methods inherited from Tataru::Instruction
Instance Method Details
#run ⇒ Object
7 8 9 10 |
# File 'lib/tataru/instructions/mark_deletable_instruction.rb', line 7 def run remote_id = memory.hash[:remote_ids].delete(resource_name) memory.hash[:remote_ids]["_deletable_#{resource_name}"] = remote_id end |