Method: Ec2Starter::Instance#initialize

Defined in:
lib/ec2-starter/starter.rb

#initialize(ami_id, service_options, options) ⇒ Instance



13
14
15
16
17
18
19
20
# File 'lib/ec2-starter/starter.rb', line 13

def initialize(ami_id, service_options, options)
  @ami_id = ami_id.to_s
  @ips = []
  @volumes = []
  @commands = []
  @default_options = {}.merge(options)
  @service_options = {}.merge(service_options)
end