class Tataru::Instructions::UpdateInstruction

update a resource

Public Instance Methods

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