class Tataru::Instructions::CreateInstruction
instruction to create
Public Instance Methods
run()
click to toggle source
# File lib/tataru/instructions/create_instruction.rb, line 9 def run resource_class = desc.resource_class resource = resource_class.new(nil) resource.create(properties) return unless desc.needs_remote_id? memory.hash[:remote_ids][resource_name] = resource.remote_id end