Method: InstantEC2#start_instance
- Defined in:
- lib/instant_ec2.rb
#start_instance(id) ⇒ Object
136 137 138 139 |
# File 'lib/instant_ec2.rb', line 136 def start_instance(id) @ec2.start_instances instance_ids: [id] @async ? Thread.new { trigger_on_start() } : trigger_on_start() end |