class Tataru::Instructions::CheckDeleteInstruction

check that delete is completed

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/tataru/instructions/check_delete_instruction.rb, line 7
def initialize
  super :delete
end

Public Instance Methods

after_complete() click to toggle source
# File lib/tataru/instructions/check_delete_instruction.rb, line 11
def after_complete
  memory.hash[:deleted] << resource_name

  return unless desc.needs_remote_id?

  memory.hash[:remote_ids].delete(resource_name)
end