class Tataru::Instructions::DeleteInstruction

instruction to delete

Public Instance Methods

run() click to toggle source
# File lib/tataru/instructions/delete_instruction.rb, line 7
def run
  resource_class = desc.resource_class
  resource = resource_class.new(memory.hash[:remote_ids][resource_name])
  resource.delete
end